diff options
Diffstat (limited to 'macros/generic/markdown/tests/testfiles/PHP_Markdown/nesting.test')
-rw-r--r-- | macros/generic/markdown/tests/testfiles/PHP_Markdown/nesting.test | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/macros/generic/markdown/tests/testfiles/PHP_Markdown/nesting.test b/macros/generic/markdown/tests/testfiles/PHP_Markdown/nesting.test new file mode 100644 index 0000000000..f95ada9662 --- /dev/null +++ b/macros/generic/markdown/tests/testfiles/PHP_Markdown/nesting.test @@ -0,0 +1,30 @@ +<<< +Valid nesting: + +**[Link](url)** + +[**Link**](url) + +**[**Link**](url)** + +Invalid nesting: + +[[Link](url)](url) +>>> +interblockSeparator +strongEmphasis: (BEGIN link)(- label: Link)(- URI: url)(- title: )(END link) +interblockSeparator +BEGIN link +- label: (strongEmphasis: Link) +- URI: url +- title: +END link +interblockSeparator +strongEmphasis: (BEGIN link)(- label: (strongEmphasis: Link))(- URI: url)(- title: )(END link) +interblockSeparator +interblockSeparator +BEGIN link +- label: [Link](url) +- URI: url +- title: +END link |