paragraphs cannot start with tags
This commit is contained in:
parent
8f9775119c
commit
8eec4033f8
@ -40,10 +40,9 @@ orphan_block_tag: _ORPHAN_TAG_ANGLE "/"? TAG_NAME ( _OPTION_SEP TAG_OPTION )* ">
|
|||||||
_PAIR_TAG_ANGLE: /<(?=([0-9a-z]+)[^{}<>\[\]]*>[\s\S]*<\/\1>)/i
|
_PAIR_TAG_ANGLE: /<(?=([0-9a-z]+)[^{}<>\[\]]*>[\s\S]*<\/\1>)/i
|
||||||
_ORPHAN_TAG_ANGLE: /<(?=([0-9a-z]+)[^{}<>\[\]]*>)(?![\s\S]*\<\/\1\>)/i
|
_ORPHAN_TAG_ANGLE: /<(?=([0-9a-z]+)[^{}<>\[\]]*>)(?![\s\S]*\<\/\1\>)/i
|
||||||
|
|
||||||
paragraph{begin, text}: _inline{begin} _N? ( _inline{text} _N? )*
|
paragraph{begin, text}: _inline{begin} _N? ( ( _inline{text} | _inline_tag ) _N? )*
|
||||||
|
|
||||||
_inline{text}: _inline_tag
|
_inline{text}: _link
|
||||||
| _link
|
|
||||||
| emphasis
|
| emphasis
|
||||||
| strong
|
| strong
|
||||||
| text
|
| text
|
||||||
|
Loading…
Reference in New Issue
Block a user