mirror of
https://github.com/muerwre/vault-frontend.git
synced 2025-04-25 04:46:40 +07:00
fixed username sanitizing
This commit is contained in:
parent
cb8e39c707
commit
3fdbf6208b
1 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue