Commit 343dde6e by Your Name

fixed coffeescript to render mathjax correctly

parent 5cf9982c
......@@ -250,6 +250,9 @@ class @DiscussionUtil
else if RE_DISPLAYMATH.test(text)
text = text.replace RE_DISPLAYMATH, ($0, $1, $2, $3) ->
processedText += $1 + processor("$$" + $2 + "$$", 'display')
#bug fix, ordering is off
#processedText = processor("$$" + $2 + "$$", 'display') + processedText
#processedText = $1 + processedText
$3
else
processedText += text
......
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