Commit 1e65e03a by Ibrahim Awwal

Fix markdown in thread view.

parent aaef0ce0
......@@ -44,7 +44,7 @@ class @DiscussionThreadShowView extends DiscussionContentView
convertMath: ->
element = @$(".post-body")
element.html DiscussionUtil.postMathJaxProcessor(element.html())
element.html DiscussionUtil.postMathJaxProcessor DiscussionUtil.markdownWithHighlight element.html()
MathJax.Hub.Queue ["Typeset", MathJax.Hub, element[0]]
toggleVote: (event) ->
......
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