diff options
author | John MacFarlane <jgm@berkeley.edu> | 2020-04-24 16:54:52 -0700 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2020-04-24 16:54:52 -0700 |
commit | f268ae30350e3d94e57e58e5a543d3292d204b83 (patch) | |
tree | ee4f02c6e9f765ae3790e78b3af19a4afd0433aa /test | |
parent | 3e52c402d0744f36462aeb3882d2cf2844529b0f (diff) | |
download | pandoc-f268ae30350e3d94e57e58e5a543d3292d204b83.tar.gz |
RST writer: properly handle images with same alt text.
Previously we created duplicate references for these
in rendering RST. Closes #6194.
Diffstat (limited to 'test')
-rw-r--r-- | test/command/6194.md | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/test/command/6194.md b/test/command/6194.md new file mode 100644 index 000000000..43be26405 --- /dev/null +++ b/test/command/6194.md @@ -0,0 +1,14 @@ +``` +% pandoc -f markdown -t rst +image1:  + +image2:  +^D +image1: |foo| + +image2: |image1| + +.. |foo| image:: x.png +.. |image1| image:: y.png +``` + |