diff options
author | damien clochard <damien@dalibo.info> | 2019-01-01 23:08:38 +0100 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2019-01-01 14:08:38 -0800 |
commit | 4ab2a46bdcb7337ca6e23037e53b1dc88b2d2240 (patch) | |
tree | 2e06e70928951a618517687ebeffe6c6a385372e /test | |
parent | 814e97df92bd3436e9bb3bf30728ef9822e35161 (diff) | |
download | pandoc-4ab2a46bdcb7337ca6e23037e53b1dc88b2d2240.tar.gz |
Zimwiki writer: remove automatic colon prefix before internal images (#5183)
* FIX #5183 : zimwiki : remove automatic colon prefix before internal images
![](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.
I never used the zimwiki, but i submitted the similar dokuwiki fix.
1. The zimwiki syntax is inspired by dokuwiki
2. The zimwiki documentation does not mention the colon character for images
3. The pandoc zimwiki writer seems to be a copy-paste for the dokuwiki writer
If the PR #5184 is applied, I think this one should be applied too.
Diffstat (limited to 'test')
-rw-r--r-- | test/writer.zimwiki | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/writer.zimwiki b/test/writer.zimwiki index 7783b836c..4b384fb20 100644 --- a/test/writer.zimwiki +++ b/test/writer.zimwiki @@ -593,9 +593,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. ---- |