diff --git a/js/lib/marked/main.js b/js/lib/marked/main.js index 795554c..e1c17b5 100644 --- a/js/lib/marked/main.js +++ b/js/lib/marked/main.js @@ -865,6 +865,7 @@ Renderer.prototype.html = function(html) { }; Renderer.prototype.heading = function(text, level, raw) { + raw = text.replace(/<[^>]+>|<\/[^>]+>/g, '') return '