Skip to content

Commit

Permalink
comment update for flaky test
Browse files Browse the repository at this point in the history
  • Loading branch information
SebinSong committed Dec 14, 2024
1 parent c2a7d7f commit 6bb3e8d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/views/utils/markdown-utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ export function renderMarkdown (str: string): any {

str = combineMarkdownSegmentListIntoString(strSplitByCodeMarkdown)
str = str.replace(/(\d+\.|-)(\s.+)\n<br>/g, '$1$2\n\n')
.replace(/(>)(\s.+)\n<br>/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<br>/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 })
Expand Down

0 comments on commit 6bb3e8d

Please sign in to comment.