Skip to content

Conversation

adamziel
Copy link
Collaborator

@adamziel adamziel commented Jan 9, 2025

Adds a is_self_closing_block() method to WP_Block_Markup_Processor to enable detection and rewriting of block comments such as

<!-- wp:core/separator /-->

This will be needed in the markdown processor.

A part of #1894.

Testing instructions

CI. See the unit tests updated in this PR.

…ocessor Adds a is_self_closing_block() method to WP_Block_Markup_Processor to enable detection and rewriting of block comments such as ```html <!-- wp:core/separator /--> ``` This will be needed in the markdown processor. A part of #1894. ## Testing instructions CI. See the unit tests updated in this PR.
@adamziel adamziel merged commit cbd8ea4 into trunk Jan 9, 2025
6 checks passed
@adamziel adamziel deleted the improve-block-markup-processor branch January 9, 2025 22:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

1 participant