diff options
author | Albert Krewinkel <albert@zeitkraut.de> | 2016-08-09 20:27:08 +0200 |
---|---|---|
committer | Albert Krewinkel <albert@zeitkraut.de> | 2016-08-09 20:27:08 +0200 |
commit | ba5b426ded8b01a290da27aac9d3bb9a7a26de8c (patch) | |
tree | 7131a90fed0ef22f9201954c25f5b1b1168d7314 /src/Text/Pandoc/Readers/TWiki.hs | |
parent | 0fbb676c81ea258cfbfa8f1a726b37edf2bd2b90 (diff) | |
download | pandoc-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/TWiki.hs')
0 files changed, 0 insertions, 0 deletions