Browse Source

Merge pull request #474 from jwatt/next

Fix content parser's 'text' rule to use the correct production
index-subcmd
Vincent Prouillet GitHub 5 years ago
parent
commit
ce79f9881a
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      components/rendering/src/content.pest

+ 1
- 1
components/rendering/src/content.pest View File

@@ -57,7 +57,7 @@ ignored_shortcode_with_body = { ignored_sc_body_start ~ text_in_ignored_body_sc

text_in_body_sc = ${ (!(sc_body_end) ~ ANY)+ }
text_in_ignored_body_sc = ${ (!(ignored_sc_body_end) ~ ANY)+ }
text = ${ (!(inline_shortcode | ignored_inline_shortcode | sc_body_start | ignored_sc_body_start) ~ ANY)+ }
text = ${ (!(inline_shortcode | ignored_inline_shortcode | shortcode_with_body | ignored_shortcode_with_body) ~ ANY)+ }

content = _{
ignored_inline_shortcode |


Loading…
Cancel
Save