Skip to content

Commit

Permalink
Fix #434
Browse files Browse the repository at this point in the history
  • Loading branch information
tommy351 committed Jan 12, 2014
1 parent e439f30 commit 001b89d
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion lib/util/highlight.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
var hljs = require('highlight.js'),
_ = require('lodash');

hljs.configure({
classPrefix: ''
});

var alias = {
js: 'javascript',
jscript: 'javascript',
Expand Down Expand Up @@ -51,7 +55,7 @@ module.exports = function(str, options){
str = str.replace(/\n(\t+)/g, function(match, tabs){
var result = '\n';

for (var i=0, len=tabs.length; i<len; i++){
for (var i = 0, len = tabs.length; i < len; i++){
result += options.tab;
}

Expand Down

0 comments on commit 001b89d

Please sign in to comment.