diff options
author | damien clochard <damien@dalibo.info> | 2019-01-01 23:07:26 +0100 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2019-01-01 14:07:26 -0800 |
commit | 814e97df92bd3436e9bb3bf30728ef9822e35161 (patch) | |
tree | 4ff71ac45379a262678dd8b0821a5bfccd4f00a6 /test/writer.dokuwiki | |
parent | 2f92261d877c50d1909ae58c135700b35ffc111e (diff) | |
download | pandoc-814e97df92bd3436e9bb3bf30728ef9822e35161.tar.gz |
Dokuwiki writer: remove automatic ':' prefix before internal image links (#5183)
* FIX #5183 : remove automatic ':' prefix before internal image links
`![](foo.png)` should be converted to `{{foo.png}}` (relative path)
`![](/foo.png]` should be converted to `{{/foo.png}}` (absolute path)
Therefore the ':' prefix is useless and must be removed.
It blocks users from making relative image links.
Update tests for DokuWiki Writer : external images
Diffstat (limited to 'test/writer.dokuwiki')
-rw-r--r-- | test/writer.dokuwiki | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/writer.dokuwiki b/test/writer.dokuwiki index 4ba1b7054..34f4246db 100644 --- a/test/writer.dokuwiki +++ b/test/writer.dokuwiki @@ -609,9 +609,9 @@ or here: <http://example.com/> From “Voyage dans la Lune” by Georges Melies (1902): -{{:lalune.jpg|Voyage dans la Lune lalune}} +{{lalune.jpg|Voyage dans la Lune lalune}} -Here is a movie {{:movie.jpg|movie}} icon. +Here is a movie {{movie.jpg|movie}} icon. ---- |