diff --git a/frontend/views/utils/markdown-utils.js b/frontend/views/utils/markdown-utils.js index e8214b644..9be7635b4 100644 --- a/frontend/views/utils/markdown-utils.js +++ b/frontend/views/utils/markdown-utils.js @@ -57,6 +57,11 @@ export function renderMarkdown (str: string): any { converted = converted.replace(/<([a-z]+)>\n/g, '<$1>') .replace(/\n<\/([a-z]+)>/g, '') + // STEP 4. Sanitize some
s that directly precedes/follows