diff --git a/src/web/parserUtils.ts b/src/web/parserUtils.ts index a50b5d74..828509c1 100644 --- a/src/web/parserUtils.ts +++ b/src/web/parserUtils.ts @@ -27,16 +27,10 @@ function addStyling(targetElement: HTMLElement, type: MarkdownType, markdownStyl node.style.textDecoration = 'line-through'; break; case 'mention-here': - Object.assign(node.style, { - ...markdownStyle.mentionHere, - fontWeight: 'bold', - }); + Object.assign(node.style, markdownStyle.mentionHere); break; case 'mention-user': - Object.assign(node.style, { - ...markdownStyle.mentionUser, - fontWeight: 'bold', - }); + Object.assign(node.style, markdownStyle.mentionUser); break; case 'link': Object.assign(node.style, {