Skip to content

Commit

Permalink
escape lang class.
Browse files Browse the repository at this point in the history
  • Loading branch information
chjj committed Jan 10, 2014
1 parent 96f1f35 commit 32714af
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/marked.js
Original file line number Diff line number Diff line change
Expand Up @@ -756,7 +756,7 @@ Renderer.prototype.code = function(code, lang, escaped, options) {

return '<pre><code class="'
+ options.langPrefix
+ lang
+ escape(lang, true)
+ '">'
+ (escaped ? code : escape(code))
+ '\n</code></pre>\n';
Expand Down

0 comments on commit 32714af

Please sign in to comment.