aboutsummaryrefslogtreecommitdiff
path: root/src/Text/Pandoc/Readers/Native.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 /src/Text/Pandoc/Readers/Native.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 'src/Text/Pandoc/Readers/Native.hs')
0 files changed, 0 insertions, 0 deletions