Remove duplicated alt text in HTML output.

This commit is contained in:
Aner Lucero
2021-06-29 09:02:13 -07:00
committed by John MacFarlane
parent 382be73d77
commit f4ef652a41
2 changed files with 22 additions and 2 deletions
+19
View File
@@ -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>
```