Skip to content

Commit 531b7e1

Browse files
author
Chad Dougherty
authoredSep 8, 2022
fix: incorrect usage of tbody (#311)
1 parent 5df6b47 commit 531b7e1

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed
 

‎src/generate/__tests__/__snapshots__/index.js.snap

+2-2
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ These people contributed to the project:
1717
<td align=\\"center\\">Divjot Singh is awesome!</td>
1818
<td align=\\"center\\">Jeroen Engels is awesome!</td>
1919
</tr>
20-
</tobdy>
20+
</tbody>
2121
</table>
2222
2323
<!-- markdownlint-restore -->
@@ -51,7 +51,7 @@ These people contributed to the project:
5151
<td align=\\"center\\">Kent C. Dodds is awesome!</td>
5252
<td align=\\"center\\">Kent C. Dodds is awesome!</td>
5353
</tr>
54-
</tobdy>
54+
</tbody>
5555
</table>
5656
5757
<!-- markdownlint-restore -->

‎src/generate/index.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ function generateContributorsList(options, contributors) {
5858
_.map(formatLine),
5959
_.join('\n </tr>\n <tr>\n '),
6060
newContent => {
61-
return `\n<table>\n <tbody>\n <tr>\n ${newContent}\n </tr>\n </tobdy>\n</table>\n\n`
61+
return `\n<table>\n <tbody>\n <tr>\n ${newContent}\n </tr>\n </tbody>\n</table>\n\n`
6262
},
6363
)(contributors)
6464
}

0 commit comments

Comments
 (0)
Please sign in to comment.