aboutsummaryrefslogtreecommitdiff
path: root/test/command/7871.md
diff options
context:
space:
mode:
authorAlbert Krewinkel <[email protected]>2022-01-28 18:05:49 +0100
committerAlbert Krewinkel <[email protected]>2022-01-28 18:20:14 +0100
commita6fa3df1146f7aee4e3bfa4cf506ab44e38ecb35 (patch)
tree5da7601e160156f0bb4424ed4f60f53d6668181d /test/command/7871.md
parentd36a16a4df5ed54b80dfc1579c339bad24ba6b0c (diff)
HTML writer: avoid duplicate "style" attributes on table cells
Fixes: #7871
Diffstat (limited to 'test/command/7871.md')
-rw-r--r--test/command/7871.md14
1 files changed, 14 insertions, 0 deletions
diff --git a/test/command/7871.md b/test/command/7871.md
new file mode 100644
index 000000000..94670f32b
--- /dev/null
+++ b/test/command/7871.md
@@ -0,0 +1,14 @@
+```
+% pandoc -f html -t html
+<table>
+<tr><td style="padding-right:4px;text-align:right">a</td></tr>
+</table>
+^D
+<table>
+<tbody>
+<tr class="odd">
+<td style="text-align: right; padding-right: 4px;">a</td>
+</tr>
+</tbody>
+</table>
+```