diff --git a/blocks/api/post.pegjs b/blocks/api/post.pegjs index 5093fc9d28b39a..11fb960c7af06b 100644 --- a/blocks/api/post.pegjs +++ b/blocks/api/post.pegjs @@ -23,7 +23,7 @@ WP_Block / WP_Block_Html WP_Tag_More - = "") .)+) { return text })? WS* "-->" noTeaser:(WS* WP_Tag_NoTeaser)? + = "") .)+) { return text })? WS* "-->" noTeaser:(WS* "")? { return { blockName: 'wp:core/more', attrs: { @@ -33,9 +33,6 @@ WP_Tag_More rawContent: '' } } -WP_Tag_NoTeaser - = "" - WP_Block_Void = "" { return {