aboutsummaryrefslogtreecommitdiff
path: root/test/command/9002.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/9002.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/9002.md')
-rw-r--r--test/command/9002.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/command/9002.md b/test/command/9002.md
index 23915dda1..4a8e9baf9 100644
--- a/test/command/9002.md
+++ b/test/command/9002.md
@@ -8,7 +8,7 @@
<col style="width: 50%" />
</colgroup>
<thead>
-<tr class="header">
+<tr>
<th>a</th>
<th>b</th>
</tr>