aboutsummaryrefslogtreecommitdiffstats
path: root/tests/misc
diff options
context:
space:
mode:
Diffstat (limited to 'tests/misc')
-rw-r--r--tests/misc/backtick-escape.html3
-rw-r--r--tests/misc/backtick-escape.txt3
-rw-r--r--tests/misc/link-with-parenthesis.html3
-rw-r--r--tests/misc/link-with-parenthesis.txt1
-rw-r--r--tests/misc/nested-patterns.html38
-rw-r--r--tests/misc/nested-patterns.txt7
6 files changed, 55 insertions, 0 deletions
diff --git a/tests/misc/backtick-escape.html b/tests/misc/backtick-escape.html
new file mode 100644
index 0000000..dd736d4
--- /dev/null
+++ b/tests/misc/backtick-escape.html
@@ -0,0 +1,3 @@
+<p>\`This should not be in code.\`
+`This also should not be in code.`
+`And finally this should not be in code.`</p>
diff --git a/tests/misc/backtick-escape.txt b/tests/misc/backtick-escape.txt
new file mode 100644
index 0000000..b4d80b2
--- /dev/null
+++ b/tests/misc/backtick-escape.txt
@@ -0,0 +1,3 @@
+\\`This should not be in code.\\`
+\`This also should not be in code.\`
+\`And finally this should not be in code.`
diff --git a/tests/misc/link-with-parenthesis.html b/tests/misc/link-with-parenthesis.html
new file mode 100644
index 0000000..5f6d1b1
--- /dev/null
+++ b/tests/misc/link-with-parenthesis.html
@@ -0,0 +1,3 @@
+<p>
+ <a href="http://en.wikipedia.org/wiki/ZIP_(file_format)" title="ZIP (file format) - Wikipedia, the free encyclopedia">ZIP archives</a>
+</p>
diff --git a/tests/misc/link-with-parenthesis.txt b/tests/misc/link-with-parenthesis.txt
new file mode 100644
index 0000000..8affc98
--- /dev/null
+++ b/tests/misc/link-with-parenthesis.txt
@@ -0,0 +1 @@
+[ZIP archives](http://en.wikipedia.org/wiki/ZIP_(file_format) "ZIP (file format) - Wikipedia, the free encyclopedia")
diff --git a/tests/misc/nested-patterns.html b/tests/misc/nested-patterns.html
new file mode 100644
index 0000000..f41bb34
--- /dev/null
+++ b/tests/misc/nested-patterns.html
@@ -0,0 +1,38 @@
+<p>
+ <strong>
+ <em>
+ <a href="http://www.freewisdom.org">link</a>
+ </em>
+ </strong>
+ <strong>
+ <em>
+ <a href="http://www.freewisdom.org">link</a>
+ </em>
+ </strong>
+ <strong>
+ <a href="http://www.freewisdom.org">
+ <em>link</em>
+ </a>
+ </strong>
+ <strong>
+ <a href="http://www.freewisdom.org">
+ <em>link</em>
+ </a>
+ </strong>
+ <strong>
+ <a href="http://www.freewisdom.org">
+ <em>link</em>
+ </a>
+ </strong>
+ <strong>
+ <a href="http://www.freewisdom.org">
+ <em>link</em>
+ </a>
+ </strong>
+ <a href="http://www.freewisdom.org">
+ <strong>
+ <em>link</em>
+ </strong>
+ </a>
+</p>
+
diff --git a/tests/misc/nested-patterns.txt b/tests/misc/nested-patterns.txt
new file mode 100644
index 0000000..3f5dc3e
--- /dev/null
+++ b/tests/misc/nested-patterns.txt
@@ -0,0 +1,7 @@
+___[link](http://www.freewisdom.org)___
+***[link](http://www.freewisdom.org)***
+**[*link*](http://www.freewisdom.org)**
+__[_link_](http://www.freewisdom.org)__
+__[*link*](http://www.freewisdom.org)__
+**[_link_](http://www.freewisdom.org)**
+[***link***](http://www.freewisdom.org)