Commit 96eb4038 by Ibrahim Awwal

Fix markdown in thread view.

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