Commit d5b9c08d authored by RawKStar77's avatar RawKStar77

Fix bug

Multiple instances of Math in one annotation weren't rendering well. Put return in front of renderMath() recursive call.
parent 638e20c8
......@@ -284,7 +284,7 @@ markdown = ['$filter', '$sanitize', '$sce', '$timeout', ($filter, $sanitize, $sc
)
startMath = null
endMath = null
renderMath(textToCheck)
return renderMath(textToCheck)
return textToCheck
# Re-render the markdown when the view needs updating.
......
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