aboutsummaryrefslogtreecommitdiff
path: root/test/command/6549.md
diff options
context:
space:
mode:
authorThomasSoeiro <[email protected]>2024-06-07 21:15:40 +0200
committerGitHub <[email protected]>2024-06-07 12:15:40 -0700
commitcd15313216c75e1ff3577da728172db9ff69a6b6 (patch)
treef9d471e58b1b0161fe0aa404eb19b6ccc5059314 /test/command/6549.md
parentbfb0475d677bd5e7a61629107d99f2371a75e2d1 (diff)
Don't emit unnecessary classes in HTML tables (#9376)
Pandoc used to emit a `header` class on the `tr` element that forms the table header. This is no longer needed, because `head > tr` will do the same thing. Similarly, pandoc used to emit `even` and `odd` classes on `tr`s, allowing striped styling. This is no longer needed, because one can use e.g. `tbody tr:nth-child(2n)`. We now omit these classes, which have a good chance of conflicting with classes used for other things. Closes #9325.
Diffstat (limited to 'test/command/6549.md')
-rw-r--r--test/command/6549.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/command/6549.md b/test/command/6549.md
index e41f4b76a..4ba11b462 100644
--- a/test/command/6549.md
+++ b/test/command/6549.md
@@ -8,13 +8,13 @@
<table>
<caption>Test table</caption>
<thead>
-<tr class="header">
+<tr>
<th>Column1</th>
<th>Column2</th>
</tr>
</thead>
<tbody>
-<tr class="odd">
+<tr>
<td>Data1</td>
<td><ul>
<li>data1</li>