pandoc/test/command/8047.md
John MacFarlane c1105e6b06 HTML writer: avoid doubled style attribute...
when height and width are added to style because of an image,
but the image already has a style attribute.

Closes #8047.
2022-04-28 15:49:20 -07:00

187 B

% pandoc --wrap=none
![](file.jpg){height=10em width=10em style='border: 1px solid black'}
^D
<p><img src="file.jpg" style="border: 1px solid black;width:10em;height:10em" /></p>