diff --git a/frontend/views/utils/markdown-utils.js b/frontend/views/utils/markdown-utils.js index 159ce0880..02f34a23f 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 })