aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorArtem Yunusov <nedrlab@gmail.com>2008-07-19 18:02:19 +0500
committerArtem Yunusov <nedrlab@gmail.com>2008-07-19 18:02:19 +0500
commit4c9cd2c1d9c589ead5a6543e306b8bf7e6295aa5 (patch)
tree172b4f3b5eb4f32e1affdc55e92aa7d2100eee92
parentb38cb84d520b446a726185a71a9669241fa48f8d (diff)
downloadmarkdown-4c9cd2c1d9c589ead5a6543e306b8bf7e6295aa5.tar.gz
markdown-4c9cd2c1d9c589ead5a6543e306b8bf7e6295aa5.tar.bz2
markdown-4c9cd2c1d9c589ead5a6543e306b8bf7e6295aa5.zip
Ops, forgot to add new test files
-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)