forked from FoundKeyGang/FoundKey
server: add missing paren
How did this not break yet?
This commit is contained in:
parent
0f3f42eb39
commit
18664dbca3
1 changed files with 1 additions and 1 deletions
|
@ -72,7 +72,7 @@ export function fromHtml(html: string, quoteUri?: string | null): string {
|
|||
const href = getAttr(node, 'href');
|
||||
|
||||
// hashtags
|
||||
if (txt.startsWith('#') && href && (attrHas(node, 'rel', 'tag') || attrHas(node, 'class', 'hashtag')) {
|
||||
if (txt.startsWith('#') && href && (attrHas(node, 'rel', 'tag') || attrHas(node, 'class', 'hashtag'))) {
|
||||
text += txt;
|
||||
// mentions
|
||||
} else if (txt.startsWith('@') && !attrHas(node, 'rel', 'me')) {
|
||||
|
|
Loading…
Reference in a new issue