From c2a7d7f5f63bc991401f84a94627a338c168b447 Mon Sep 17 00:00:00 2001 From: SebinSong Date: Sat, 14 Dec 2024 10:28:17 +0900 Subject: [PATCH] comment update --- frontend/views/utils/markdown-utils.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/views/utils/markdown-utils.js b/frontend/views/utils/markdown-utils.js index 02f34a23f..803adbb2e 100644 --- a/frontend/views/utils/markdown-utils.js +++ b/frontend/views/utils/markdown-utils.js @@ -51,7 +51,7 @@ export function renderMarkdown (str: string): any { str = combineMarkdownSegmentListIntoString(strSplitByCodeMarkdown) str = str.replace(/(\d+\.|-)(\s.+)\n
/g, '$1$2\n\n') - .replace(/(>)(\s.+)\n
/gs, '$1$2\n\n') // Check for [2], [3] above once more to resolve edge-cases (reference: https://github.com/okTurtles/group-income/issues/2356) + .replace(/(>)(\s.+)\n
/gs, '$1$2\n\n') // Check for [2], [3] above once more to resolve edge-cases. (reference: https://github.com/okTurtles/group-income/issues/2356) // STEP 2. convert the markdown into html DOM string. let converted = marked.parse(str, { gfm: true })