diff options
author | John MacFarlane <jgm@berkeley.edu> | 2016-02-20 21:42:12 -0800 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2016-02-20 21:42:12 -0800 |
commit | e369e60fb457df56cf81a84b5114818dfb023144 (patch) | |
tree | 73ae8cd4c96d198624f9e0c2b423c361c0a0fae9 /tests/Tests/Readers | |
parent | 1534052dd9c0336da149b79440c7d46714592e31 (diff) | |
parent | 92e6ae47f6cf8e0753d282dcc9020f88044d6101 (diff) | |
download | pandoc-e369e60fb457df56cf81a84b5114818dfb023144.tar.gz |
Merge pull request #2691 from tarleb/org-image-file-links
Org reader: Refactor link-target processing
Diffstat (limited to 'tests/Tests/Readers')
-rw-r--r-- | tests/Tests/Readers/Org.hs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/Tests/Readers/Org.hs b/tests/Tests/Readers/Org.hs index bb3bffe22..8e255160f 100644 --- a/tests/Tests/Readers/Org.hs +++ b/tests/Tests/Readers/Org.hs @@ -190,6 +190,10 @@ tests = "[[./sunset.jpg]]" =?> (para $ image "./sunset.jpg" "" "") + , "Image with explicit file: prefix" =: + "[[file:sunrise.jpg]]" =?> + (para $ image "sunrise.jpg" "" "") + , "Explicit link" =: "[[http://zeitlens.com/][pseudo-random /nonsense/]]" =?> (para $ link "http://zeitlens.com/" "" |