aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2012-09-13 15:28:11 -0700
committerJohn MacFarlane <jgm@berkeley.edu>2012-09-13 15:28:11 -0700
commit5620848ef972d306d3cb1ba94163780735d19147 (patch)
treedac5fa355653a0ab6429592f3813ee998a9452e1
parent017095f690c6b2154e8fbeaecdcc1b99583c1924 (diff)
downloadpandoc-5620848ef972d306d3cb1ba94163780735d19147.tar.gz
MediaWiki reader: Added tests for external mailto link.
-rw-r--r--tests/mediawiki-reader.native1
-rw-r--r--tests/mediawiki-reader.wiki2
2 files changed, 3 insertions, 0 deletions
diff --git a/tests/mediawiki-reader.native b/tests/mediawiki-reader.native
index 3344b75ec..059e73fab 100644
--- a/tests/mediawiki-reader.native
+++ b/tests/mediawiki-reader.native
@@ -73,6 +73,7 @@ Pandoc (Meta {docTitle = [], docAuthors = [], docDate = []})
,Para [Link [Emph [Str "Google"],Space,Str "search",Space,Str "engine"] ("http://google.com","")]
,Para [Link [Str "http://johnmacfarlane.net/pandoc/"] ("http://johnmacfarlane.net/pandoc/","")]
,Para [Link [Str "1"] ("http://google.com",""),Space,Link [Str "2"] ("http://yahoo.com","")]
+,Para [Link [Str "email",Space,Str "me"] ("mailto:info@example.org","")]
,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 0878e667d..7653d4f3b 100644
--- a/tests/mediawiki-reader.wiki
+++ b/tests/mediawiki-reader.wiki
@@ -145,6 +145,8 @@ http://johnmacfarlane.net/pandoc/
[http://google.com] [http://yahoo.com]
+[mailto:info@example.org email me]
+
== lists ==
* Start each line