fix lint errors
This commit is contained in:
parent
84df0714d8
commit
b9eaf906e7
22 changed files with 55 additions and 49 deletions
|
@ -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':
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue