Commit 2ee41ebf by Arjun Singh

blockquotes may be fixed

parent 3b13013e
...@@ -280,8 +280,10 @@ class @DiscussionUtil ...@@ -280,8 +280,10 @@ class @DiscussionUtil
@processEachMathAndCode text, @stripHighlight @processEachMathAndCode text, @stripHighlight
@markdownWithHighlight: (text) -> @markdownWithHighlight: (text) ->
text = text.replace(/^\&gt\;/gm, ">")
converter = Markdown.getMathCompatibleConverter() converter = Markdown.getMathCompatibleConverter()
@unescapeHighlightTag @stripLatexHighlight converter.makeHtml text text = @unescapeHighlightTag @stripLatexHighlight converter.makeHtml text
return text.replace(/^>/gm,">")
@abbreviateString: (text, minLength) -> @abbreviateString: (text, minLength) ->
# Abbreviates a string to at least minLength characters, stopping at word boundaries # Abbreviates a string to at least minLength characters, stopping at word boundaries
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment