From 2ee41ebf0c65634b5f0398f4ab7b8f902f78de2a Mon Sep 17 00:00:00 2001 From: Arjun Singh Date: Sat, 15 Sep 2012 03:10:51 -0700 Subject: [PATCH] blockquotes may be fixed --- lms/static/coffee/src/discussion/utils.coffee | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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