aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/rst-reader.native1
-rw-r--r--tests/rst-reader.rst6
2 files changed, 7 insertions, 0 deletions
diff --git a/tests/rst-reader.native b/tests/rst-reader.native
index b49e9873e..d37ea7b60 100644
--- a/tests/rst-reader.native
+++ b/tests/rst-reader.native
@@ -226,6 +226,7 @@ Pandoc (Meta {docTitle = [Str "Pandoc",Space,Str "Test",Space,Str "Suite",Str ":
,Para [Image [Str "image"] ("lalune.jpg","")]
,Para [Image [Str "Voyage dans la Lune"] ("lalune.jpg","")]
,Para [Str "Here",Space,Str "is",Space,Str "a",Space,Str "movie",Space,Image [Str "movie"] ("movie.jpg",""),Space,Str "icon",Str "."]
+,Para [Str "And",Space,Str "an",Space,Link [Image [Str "A movie"] ("movie.jpg","")] ("/url",""),Str "."]
,Header 1 [Str "Comments"]
,Para [Str "First",Space,Str "paragraph"]
,Para [Str "Another",Space,Str "paragraph"]
diff --git a/tests/rst-reader.rst b/tests/rst-reader.rst
index e8dee7e3f..3e5c9d8c8 100644
--- a/tests/rst-reader.rst
+++ b/tests/rst-reader.rst
@@ -416,6 +416,12 @@ Here is a movie |movie| icon.
.. |movie| image:: movie.jpg
+And an |image with a link|.
+
+.. |image with a link| image:: movie.jpg
+ :alt: A movie
+ :target: /url
+
Comments
========