Skip to content

Commit b4b0a6d

Browse files
committed
Fixes to #9376.
1 parent cd15313 commit b4b0a6d

File tree

7 files changed

+12
-12
lines changed

7 files changed

+12
-12
lines changed

src/Text/Pandoc/Writers/HTML.hs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1269,7 +1269,7 @@ tableRowToHtml opts (TableRow tblpart attr rownum rowhead rowbody) = do
12691269
_ -> BodyCell
12701270
headcells <- mapM (cellToHtml opts HeaderCell) rowhead
12711271
bodycells <- mapM (cellToHtml opts celltype) rowbody
1272-
rowHtml <- addAttrs opts attr' $ H.tr $ do
1272+
rowHtml <- addAttrs opts attr $ H.tr $ do
12731273
nl
12741274
mconcat headcells
12751275
mconcat bodycells

test/command/1881.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@
4444
(TableHead
4545
( "" , [] , [] )
4646
[ Row
47-
( "" , [ "header" ] , [] )
47+
( "" , [] , [] )
4848
[ Cell
4949
( "" , [] , [] )
5050
AlignRight
@@ -76,7 +76,7 @@
7676
(RowHeadColumns 0)
7777
[]
7878
[ Row
79-
( "" , [ "odd" ] , [] )
79+
( "" , [] , [] )
8080
[ Cell
8181
( "" , [] , [] )
8282
AlignRight
@@ -133,7 +133,7 @@
133133
(RowHeadColumns 0)
134134
[]
135135
[ Row
136-
( "" , [ "odd" ] , [] )
136+
( "" , [] , [] )
137137
[ Cell
138138
( "" , [] , [] )
139139
AlignRight

test/command/8770-block.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,13 +39,13 @@ role="doc-noteref"><sup>2</sup></a></caption>
3939
<col style="width: 16%" />
4040
</colgroup>
4141
<thead>
42-
<tr class="header">
42+
<tr>
4343
<th style="text-align: center;">Fruit<a href="#fn3" class="footnote-ref"
4444
id="fnref3" role="doc-noteref"><sup>3</sup></a></th>
4545
</tr>
4646
</thead>
4747
<tbody>
48-
<tr class="odd">
48+
<tr>
4949
<td style="text-align: center;">Bans<a href="#fn4" class="footnote-ref"
5050
id="fnref4" role="doc-noteref"><sup>4</sup></a></td>
5151
</tr>

test/command/8770-document.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,13 +32,13 @@ role="doc-noteref"><sup>2</sup></a></caption>
3232
<col style="width: 16%" />
3333
</colgroup>
3434
<thead>
35-
<tr class="header">
35+
<tr>
3636
<th style="text-align: center;">Fruit<a href="#fn3" class="footnote-ref"
3737
id="fnref3" role="doc-noteref"><sup>3</sup></a></th>
3838
</tr>
3939
</thead>
4040
<tbody>
41-
<tr class="odd">
41+
<tr>
4242
<td style="text-align: center;">Bans<a href="#fn4" class="footnote-ref"
4343
id="fnref4" role="doc-noteref"><sup>4</sup></a></td>
4444
</tr>

test/command/8770-section.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,13 +32,13 @@ role="doc-noteref"><sup>2</sup></a></caption>
3232
<col style="width: 16%" />
3333
</colgroup>
3434
<thead>
35-
<tr class="header">
35+
<tr>
3636
<th style="text-align: center;">Fruit<a href="#fn3" class="footnote-ref"
3737
id="fnref3" role="doc-noteref"><sup>3</sup></a></th>
3838
</tr>
3939
</thead>
4040
<tbody>
41-
<tr class="odd">
41+
<tr>
4242
<td style="text-align: center;">Bans<a href="#fn4" class="footnote-ref"
4343
id="fnref4" role="doc-noteref"><sup>4</sup></a></td>
4444
</tr>

test/tables/nordics.html4

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
<col width="20%" />
88
</colgroup>
99
<thead class="simple-head">
10-
<tr class="header">
10+
<tr>
1111
<th align="center">Name</th>
1212
<th align="center">Capital</th>
1313
<th align="center">Population<br />

test/tables/nordics.html5

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
<col style="width: 20%" />
88
</colgroup>
99
<thead class="simple-head">
10-
<tr class="header">
10+
<tr>
1111
<th style="text-align: center;">Name</th>
1212
<th style="text-align: center;">Capital</th>
1313
<th style="text-align: center;">Population<br />

0 commit comments

Comments
 (0)