aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorJohn MacFarlane <fiddlosopher@gmail.com>2013-06-19 09:00:37 -0700
committerJohn MacFarlane <fiddlosopher@gmail.com>2013-06-19 09:00:37 -0700
commit6c5ba22c96aacb49376dc18e82972c05b52ab416 (patch)
tree279adea39aea08f3670aefe2a4724249c424c8f7 /tests
parente0832b0359628655d8bb6b84375bbd504d426aec (diff)
downloadpandoc-6c5ba22c96aacb49376dc18e82972c05b52ab416.tar.gz
Added a test for #833.
Diffstat (limited to 'tests')
-rw-r--r--tests/markdown-reader-more.native4
-rw-r--r--tests/markdown-reader-more.txt4
2 files changed, 7 insertions, 1 deletions
diff --git a/tests/markdown-reader-more.native b/tests/markdown-reader-more.native
index 021935004..2e8dc9dde 100644
--- a/tests/markdown-reader-more.native
+++ b/tests/markdown-reader-more.native
@@ -134,4 +134,6 @@
,Header 2 ("parentheses-in-urls",[],[]) [Str "Parentheses",Space,Str "in",Space,Str "URLs"]
,Para [Link [Str "link"] ("/hi(there)","")]
,Para [Link [Str "link"] ("/hithere)","")]
-,Para [Link [Str "linky"] ("hi_(there_(nested))","")]]
+,Para [Link [Str "linky"] ("hi_(there_(nested))","")]
+,Header 2 ("reference-link-fallbacks",[],[]) [Str "Reference",Space,Str "link",Space,Str "fallbacks"]
+,Para [Str "[",Emph [Str "not",Space,Str "a",Space,Str "link"],Str "]",Space,Str "[",Emph [Str "nope"],Str "]\8230"]]
diff --git a/tests/markdown-reader-more.txt b/tests/markdown-reader-more.txt
index 2e0e66332..d133b3dbb 100644
--- a/tests/markdown-reader-more.txt
+++ b/tests/markdown-reader-more.txt
@@ -231,3 +231,7 @@ Empty cells
[linky]
[linky]: hi_(there_(nested))
+
+## Reference link fallbacks
+
+[*not a link*] [*nope*]...