Commit 536fa8cc by Tom Giannattasio

fixed inline thread replace error

parent db4530ce
......@@ -125,6 +125,7 @@ class @DiscussionThreadShowView extends DiscussionContentView
@model.set('endorsed', not endorsed)
highlight: (el) ->
if el.html()
el.html(el.html().replace(/&lt;mark&gt;/g, "<mark>").replace(/&lt;\/mark&gt;/g, "</mark>"))
class @DiscussionThreadInlineShowView extends DiscussionThreadShowView
......
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