summaryrefslogtreecommitdiff
path: root/macros/generic/markdown/tests/testfiles/Markdown_1.0.3/amps-encoding.test
diff options
context:
space:
mode:
Diffstat (limited to 'macros/generic/markdown/tests/testfiles/Markdown_1.0.3/amps-encoding.test')
-rw-r--r--macros/generic/markdown/tests/testfiles/Markdown_1.0.3/amps-encoding.test36
1 files changed, 36 insertions, 0 deletions
diff --git a/macros/generic/markdown/tests/testfiles/Markdown_1.0.3/amps-encoding.test b/macros/generic/markdown/tests/testfiles/Markdown_1.0.3/amps-encoding.test
new file mode 100644
index 0000000000..da079fc68f
--- /dev/null
+++ b/macros/generic/markdown/tests/testfiles/Markdown_1.0.3/amps-encoding.test
@@ -0,0 +1,36 @@
+<<<
+Here's a [link] [1] with an ampersand in the URL.
+
+Here's a link with an amersand in the link text: [AT&T] [2].
+
+Here's an inline [link](/script?foo=1&bar=2).
+
+Here's an inline [link](</script?foo=1&bar=2>).
+
+
+[1]: http://example.com/?foo=1&bar=2
+[2]: http://att.com/ "AT&T"
+>>>
+BEGIN link
+- label: link
+- URI: http://example.com/?foo=1(ampersand)bar=2
+- title:
+END link
+interblockSeparator
+BEGIN link
+- label: AT(ampersand)T
+- URI: http://att.com/
+- title: AT(ampersand)T
+END link
+interblockSeparator
+BEGIN link
+- label: link
+- URI: /script?foo=1(ampersand)bar=2
+- title:
+END link
+interblockSeparator
+BEGIN link
+- label: link
+- URI: /script?foo=1(ampersand)bar=2
+- title:
+END link