1
0
Fork 0
mirror of https://github.com/muerwre/vault-frontend.git synced 2025-04-25 12:56:41 +07:00

fixed username sanitizing

This commit is contained in:
Fedor Katurov 2021-02-26 09:16:40 +07:00
parent cb8e39c707
commit 3fdbf6208b

View file

@ -101,8 +101,8 @@ export const formatText = pipe(
formatExclamations, formatExclamations,
formatTextDash, formatTextDash,
formatTextMarkdown, formatTextMarkdown,
formatTextClickableUsernames, formatTextSanitizeTags,
formatTextSanitizeTags formatTextClickableUsernames
); );
export const formatTextParagraphs = (text: string): string => (text && formatText(text)) || null; export const formatTextParagraphs = (text: string): string => (text && formatText(text)) || null;