aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2012-09-13 17:06:09 -0700
committerJohn MacFarlane <jgm@berkeley.edu>2012-09-13 17:06:09 -0700
commita0d7b3f37be8f000b8651a898bacfeb9e7b4da87 (patch)
tree7df279cb8a090856875e967f9d7fc9f952de52ee /tests
parentfc2f7a494265dfd8eda489afc6d9250982876f0e (diff)
downloadpandoc-a0d7b3f37be8f000b8651a898bacfeb9e7b4da87.tar.gz
MediaWiki reader: internal links.
Diffstat (limited to 'tests')
-rw-r--r--tests/mediawiki-reader.native2
-rw-r--r--tests/mediawiki-reader.wiki4
2 files changed, 6 insertions, 0 deletions
diff --git a/tests/mediawiki-reader.native b/tests/mediawiki-reader.native
index c38736cd4..2a573af9c 100644
--- a/tests/mediawiki-reader.native
+++ b/tests/mediawiki-reader.native
@@ -80,6 +80,8 @@ Pandoc (Meta {docTitle = [], docAuthors = [], docDate = []})
,Para [Link [Str "Helpers"] ("Help","wikilink")]
,Para [Link [Str "Help"] ("Help","wikilink"),Str "ers"]
,Para [Link [Str "Contents"] ("Help:Contents","wikilink")]
+,Para [Link [Str "#My",Space,Str "anchor"] ("#My_anchor","wikilink")]
+,Para [Link [Str "and",Space,Str "text"] ("Page#with_anchor","wikilink")]
,Header 2 [Str "lists"]
,BulletList
[[Plain [Str "Start",Space,Str "each",Space,Str "line"]]
diff --git a/tests/mediawiki-reader.wiki b/tests/mediawiki-reader.wiki
index 34fe8ade5..12393f110 100644
--- a/tests/mediawiki-reader.wiki
+++ b/tests/mediawiki-reader.wiki
@@ -159,6 +159,10 @@ http://johnmacfarlane.net/pandoc/
[[Help:Contents|]]
+[[#My anchor]]
+
+[[Page#with anchor|and text]]
+
== lists ==
* Start each line