Skip to content

Commit

Permalink
Fix syntax highlighting for markdown blocks
Browse files Browse the repository at this point in the history
  • Loading branch information
Thomas Boyt committed Jan 12, 2014
1 parent f946bf3 commit 4608f36
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/builder.js
Original file line number Diff line number Diff line change
Expand Up @@ -744,7 +744,7 @@ YUI.add('doc-builder', function(Y) {
_parseCode: function (html) {
html = html || '';
//html = html.replace(/<pre><code>/g, '<pre class="code"><code class="prettyprint">');
html = html.replace(/<pre><code>/g, '<pre class="code prettyprint"><code>');
html = html.replace(/<pre><code/g, '<pre class="code prettyprint"><code');
return html;
},
/**
Expand Down

0 comments on commit 4608f36

Please sign in to comment.