fix: incorrect usage of tbody (#311)

This commit is contained in:
Chad Dougherty 2022-09-08 12:00:44 -04:00 committed by GitHub
parent 5df6b47f8a
commit 531b7e1c4a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

View file

@ -17,7 +17,7 @@ These people contributed to the project:
<td align=\\"center\\">Divjot Singh is awesome!</td> <td align=\\"center\\">Divjot Singh is awesome!</td>
<td align=\\"center\\">Jeroen Engels is awesome!</td> <td align=\\"center\\">Jeroen Engels is awesome!</td>
</tr> </tr>
</tobdy> </tbody>
</table> </table>
<!-- markdownlint-restore --> <!-- markdownlint-restore -->
@ -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>
<td align=\\"center\\">Kent C. Dodds is awesome!</td> <td align=\\"center\\">Kent C. Dodds is awesome!</td>
</tr> </tr>
</tobdy> </tbody>
</table> </table>
<!-- markdownlint-restore --> <!-- markdownlint-restore -->

View file

@ -58,7 +58,7 @@ function generateContributorsList(options, contributors) {
_.map(formatLine), _.map(formatLine),
_.join('\n </tr>\n <tr>\n '), _.join('\n </tr>\n <tr>\n '),
newContent => { 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) )(contributors)
} }