Skip to content

Commit 8e77e46

Browse files
committed
[Data Liberation] Recognize self-closing blocks in WP_Block_Markup_Processor
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.
1 parent a0c7b02 commit 8e77e46

File tree

2 files changed

+363
-111
lines changed

2 files changed

+363
-111
lines changed

0 commit comments

Comments
 (0)