diff options
author | John MacFarlane <jgm@berkeley.edu> | 2015-03-28 21:14:09 -0700 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2015-03-28 21:14:09 -0700 |
commit | a241cf6a30916da852ea040cb4a4d8aee5279f46 (patch) | |
tree | 00b709cb678c23c9ee6b7c6cd3c140beff857aea /src/Text | |
parent | 27078985d54111ad5b674635dd3adc5ac5f86744 (diff) | |
parent | 2d2e4c9ab2553752e2b8adc4d88c27f0daa3a36a (diff) | |
download | pandoc-a241cf6a30916da852ea040cb4a4d8aee5279f46.tar.gz |
Merge branch 'rootzlevel-master'
Diffstat (limited to 'src/Text')
-rw-r--r-- | src/Text/Pandoc/Readers/Org.hs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Text/Pandoc/Readers/Org.hs b/src/Text/Pandoc/Readers/Org.hs index 1dfbdd700..fc63cc11e 100644 --- a/src/Text/Pandoc/Readers/Org.hs +++ b/src/Text/Pandoc/Readers/Org.hs @@ -1093,7 +1093,7 @@ explicitOrImageLink = try $ do char ']' alt <- internalLink src title' return $ - (if isImageFilename src && isImageFilename title + (if isImageFilename title then B.link src "" $ B.image title mempty mempty else fromMaybe alt (linkToInlines src title')) |