diff --git a/lib/marked.js b/lib/marked.js index d30398fcc1..9cf446a386 100644 --- a/lib/marked.js +++ b/lib/marked.js @@ -742,13 +742,13 @@ function Renderer() {} Renderer.prototype.code = function(code, lang, escaped, options) { options = options || {}; - if (options.highlight) { - var out = options.highlight(code, lang); - if (out != null && out !== code) { - escaped = true; - code = out; - } - } + // if (options.highlight) { + // var out = options.highlight(code, lang); + // if (out != null && out !== code) { + // escaped = true; + // code = out; + // } + // } if (!lang) { return '
'
@@ -773,7 +773,16 @@ Renderer.prototype.html = function(html) {
 };
 
 Renderer.prototype.heading = function(text, level) {
-  return '' + text + '\n';
+  return '