Skip to content

Commit

Permalink
Fix #78 for hljs-include
Browse files Browse the repository at this point in the history
  • Loading branch information
pc035860 committed Feb 28, 2017
1 parent 60c0440 commit 920524f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/angular-highlightjs.js
Expand Up @@ -464,7 +464,7 @@ includeDirFactory = function (dirName) {
code = code.data;
}

code = code.replace(/^(\r\n|\r|\n)/m, '');
code = code.replace(/^(\r\n|\r|\n)/, '');
ctrl.highlight(code);
});
}
Expand Down

0 comments on commit 920524f

Please sign in to comment.