fix lint errors

This commit is contained in:
syuilo
2021-11-12 10:52:10 +09:00
parent 84df0714d8
commit b9eaf906e7
22 changed files with 55 additions and 49 deletions

View File

@ -48,9 +48,10 @@ export function fromHtml(html: string, hashtagNames?: string[]): string | null {
if (!treeAdapter.isElementNode(node)) return;
switch (node.nodeName) {
case 'br':
case 'br': {
text += '\n';
break;
}
case 'a':
{