mirror of
https://github.com/jgm/pandoc.git
synced 2026-09-26 09:25:48 +00:00
HTML writer: avoid duplicate "style" attributes on table cells
Fixes: #7871
This commit is contained in:
@@ -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>
|
||||
```
|
||||
Reference in New Issue
Block a user