aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorWaylan Limberg <waylan@gmail.com>2008-08-22 14:22:38 -0400
committerWaylan Limberg <waylan@gmail.com>2008-08-22 14:22:38 -0400
commit476eec8bab4d46e0a525c16954e18a5a1245dc1f (patch)
treec694fb54afbfb12d868d497cb299a82b5234c3cd /tests
parentc298c77fded08438219aa7b3bd074b43cc8d5c0a (diff)
downloadmarkdown-476eec8bab4d46e0a525c16954e18a5a1245dc1f.tar.gz
markdown-476eec8bab4d46e0a525c16954e18a5a1245dc1f.tar.bz2
markdown-476eec8bab4d46e0a525c16954e18a5a1245dc1f.zip
Improved wikilink tests. **Note** the test currently fails. We have bugs that need fixing.
Diffstat (limited to 'tests')
-rw-r--r--tests/extensions-x-wikilink/wikilinks.html5
-rw-r--r--tests/extensions-x-wikilink/wikilinks.txt2
2 files changed, 7 insertions, 0 deletions
diff --git a/tests/extensions-x-wikilink/wikilinks.html b/tests/extensions-x-wikilink/wikilinks.html
new file mode 100644
index 0000000..53a8ab7
--- /dev/null
+++ b/tests/extensions-x-wikilink/wikilinks.html
@@ -0,0 +1,5 @@
+<p>Some text with a <a href="/WikiLink/" class="wikilink">WikiLink</a>.</p>
+<p>And a <a href="http://example.com/RealLink">RealLink</a>.</p>
+<p><a href="http://example.com/And_A_AutoLink">http://example.com/And A AutoLink</a></p>
+<p>And a <a href="/MarkdownLink/" title="A MarkdownLink">MarkdownLink</a> for completeness.</p>
+
diff --git a/tests/extensions-x-wikilink/wikilinks.txt b/tests/extensions-x-wikilink/wikilinks.txt
index bec0f43..d707526 100644
--- a/tests/extensions-x-wikilink/wikilinks.txt
+++ b/tests/extensions-x-wikilink/wikilinks.txt
@@ -2,5 +2,7 @@ Some text with a WikiLink.
And a <a href="http://example.com/RealLink">RealLink</a>.
+<http://example.com/And_A_AutoLink>
+
And a [MarkdownLink](/MarkdownLink/ "A MarkdownLink") for
completeness.