Skip to content

Commit

Permalink
fix: incorrect usage of tbody (#311)
Browse files Browse the repository at this point in the history
  • Loading branch information
crd477 committed Sep 8, 2022
1 parent 5df6b47 commit 531b7e1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/generate/__tests__/__snapshots__/index.js.snap
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ These people contributed to the project:
<td align=\\"center\\">Divjot Singh is awesome!</td>
<td align=\\"center\\">Jeroen Engels is awesome!</td>
</tr>
</tobdy>
</tbody>
</table>
<!-- markdownlint-restore -->
Expand Down Expand Up @@ -51,7 +51,7 @@ These people contributed to the project:
<td align=\\"center\\">Kent C. Dodds is awesome!</td>
<td align=\\"center\\">Kent C. Dodds is awesome!</td>
</tr>
</tobdy>
</tbody>
</table>
<!-- markdownlint-restore -->
Expand Down
2 changes: 1 addition & 1 deletion src/generate/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ function generateContributorsList(options, contributors) {
_.map(formatLine),
_.join('\n </tr>\n <tr>\n '),
newContent => {
return `\n<table>\n <tbody>\n <tr>\n ${newContent}\n </tr>\n </tobdy>\n</table>\n\n`
return `\n<table>\n <tbody>\n <tr>\n ${newContent}\n </tr>\n </tbody>\n</table>\n\n`
},
)(contributors)
}
Expand Down

0 comments on commit 531b7e1

Please sign in to comment.