From 3fdbf6208b38c21de128d6b1dd0add00874fda49 Mon Sep 17 00:00:00 2001 From: Fedor Katurov Date: Fri, 26 Feb 2021 09:16:40 +0700 Subject: [PATCH] fixed username sanitizing --- src/utils/dom.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/utils/dom.ts b/src/utils/dom.ts index 34e7a44b..d02f1af1 100644 --- a/src/utils/dom.ts +++ b/src/utils/dom.ts @@ -101,8 +101,8 @@ export const formatText = pipe( formatExclamations, formatTextDash, formatTextMarkdown, - formatTextClickableUsernames, - formatTextSanitizeTags + formatTextSanitizeTags, + formatTextClickableUsernames ); export const formatTextParagraphs = (text: string): string => (text && formatText(text)) || null;