diff --git a/lms/static/coffee/src/discussion/utils.coffee b/lms/static/coffee/src/discussion/utils.coffee index f2ff815fa9..e76ea346ff 100644 --- a/lms/static/coffee/src/discussion/utils.coffee +++ b/lms/static/coffee/src/discussion/utils.coffee @@ -280,8 +280,10 @@ class @DiscussionUtil @processEachMathAndCode text, @stripHighlight @markdownWithHighlight: (text) -> + text = text.replace(/^\>\;/gm, ">") converter = Markdown.getMathCompatibleConverter() - @unescapeHighlightTag @stripLatexHighlight converter.makeHtml text + text = @unescapeHighlightTag @stripLatexHighlight converter.makeHtml text + return text.replace(/^>/gm,">") @abbreviateString: (text, minLength) -> # Abbreviates a string to at least minLength characters, stopping at word boundaries