HTML writer: avoid duplicate "style" attributes on table cells

Fixes: #7871
This commit is contained in:
Albert Krewinkel
2022-01-28 18:20:14 +01:00
parent d36a16a4df
commit a6fa3df114
9 changed files with 68 additions and 36 deletions
+14
View File
@@ -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>
```