From 5267e84395e988022013067287f40f15ae9aab39 Mon Sep 17 00:00:00 2001 From: Robert Kozik Date: Tue, 30 Jan 2024 12:21:20 +0100 Subject: [PATCH] mentions shoudn't be bold --- src/web/parserUtils.ts | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) 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, {