aboutsummaryrefslogtreecommitdiff
path: root/test/command
diff options
context:
space:
mode:
authorJohn MacFarlane <[email protected]>2022-04-28 15:49:20 -0700
committerJohn MacFarlane <[email protected]>2022-04-28 15:49:20 -0700
commitc1105e6b06d7436f43236191e32156a863de0e13 (patch)
tree0c511b4ae700900fe49a69c8c3ed0f0a546357c0 /test/command
parentc05f95773d21061f67494511652fe76a4f2708c1 (diff)
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.
Diffstat (limited to 'test/command')
-rw-r--r--test/command/8047.md6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/command/8047.md b/test/command/8047.md
new file mode 100644
index 000000000..5b5efb7bf
--- /dev/null
+++ b/test/command/8047.md
@@ -0,0 +1,6 @@
+```
+% 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>
+```