summaryrefslogtreecommitdiff
path: root/macros/generic/markdown/tests/testfiles/PHP_Markdown/nesting.test
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2019-09-02 13:46:59 +0900
committerNorbert Preining <norbert@preining.info>2019-09-02 13:46:59 +0900
commite0c6872cf40896c7be36b11dcc744620f10adf1d (patch)
tree60335e10d2f4354b0674ec22d7b53f0f8abee672 /macros/generic/markdown/tests/testfiles/PHP_Markdown/nesting.test
Initial commit
Diffstat (limited to 'macros/generic/markdown/tests/testfiles/PHP_Markdown/nesting.test')
-rw-r--r--macros/generic/markdown/tests/testfiles/PHP_Markdown/nesting.test30
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