aboutsummaryrefslogtreecommitdiff
path: root/tests/Tests/Readers/Markdown.hs
diff options
context:
space:
mode:
authorAlbert Krewinkel <albert@zeitkraut.de>2016-08-09 20:27:08 +0200
committerAlbert Krewinkel <albert@zeitkraut.de>2016-08-09 20:27:08 +0200
commitba5b426ded8b01a290da27aac9d3bb9a7a26de8c (patch)
tree7131a90fed0ef22f9201954c25f5b1b1168d7314 /tests/Tests/Readers/Markdown.hs
parent0fbb676c81ea258cfbfa8f1a726b37edf2bd2b90 (diff)
downloadpandoc-ba5b426ded8b01a290da27aac9d3bb9a7a26de8c.tar.gz
Org reader: ensure image sources are proper links
Image sources as those in plain images, image links, or figures, must be proper URIs or relative file paths to be recognized as images. This restriction is now enforced for all image sources. This also fixes the reader's usage of uncleaned image sources, leading to `file:` prefixes not being deleted from figure images (e.g. `[[file:image.jpg]]` leading to a broken image `<img src="file:image.jpg"/>) Thanks to @bsag for noticing this bug.
Diffstat (limited to 'tests/Tests/Readers/Markdown.hs')
0 files changed, 0 insertions, 0 deletions