aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorAner Lucero <4rgento@gmail.com>2021-06-29 08:49:36 -0300
committerJohn MacFarlane <jgm@berkeley.edu>2021-06-29 09:02:13 -0700
commitf4ef652a4165fefe4b587882cc75d1e24971ef1f (patch)
treed424056bfc159aa2cff7018facba8b36f3f122a3 /test
parent382be73d77eca007a6d333391159123235fe3561 (diff)
downloadpandoc-f4ef652a4165fefe4b587882cc75d1e24971ef1f.tar.gz
Remove duplicated alt text in HTML output.
Diffstat (limited to 'test')
-rw-r--r--test/command/7416.md19
1 files changed, 19 insertions, 0 deletions
diff --git a/test/command/7416.md b/test/command/7416.md
new file mode 100644
index 000000000..70a0257fa
--- /dev/null
+++ b/test/command/7416.md
@@ -0,0 +1,19 @@
+```
+% pandoc -f markdown -t html
+![caption](../media/rId25.jpg "title"){alt="alt"}
+
+^D
+<figure>
+<img src="../media/rId25.jpg" title="title" alt="alt" /><figcaption aria-hidden="true">caption</figcaption>
+</figure>
+```
+
+```
+% pandoc -f markdown -t html
+![caption](../media/rId25.jpg "title")
+
+^D
+<figure>
+<img src="../media/rId25.jpg" title="title" alt="caption" /><figcaption aria-hidden="true">caption</figcaption>
+</figure>
+```