mirror of
https://github.com/muerwre/vault-frontend.git
synced 2025-04-25 04:46:40 +07:00
fixed image and code appearance
This commit is contained in:
parent
c383356a4c
commit
0c7ed6de99
4 changed files with 14 additions and 5 deletions
|
@ -122,7 +122,7 @@ export const splitCommentByBlocks = (text: string): ICommentBlock[] =>
|
|||
}));
|
||||
|
||||
export const formatCommentText = (author: string, text: string): ICommentBlock[] =>
|
||||
text ? splitCommentByBlocks(formatText(text)) : null;
|
||||
text ? splitCommentByBlocks(text) : null;
|
||||
|
||||
export const formatCellText = (text: string): string => formatTextParagraphs(text);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue