Skip to content

Commit

Permalink
fix(highlight): make highlight more robust (#171)
Browse files Browse the repository at this point in the history
  • Loading branch information
ppwwyyxx committed Feb 17, 2020
1 parent 8615f15 commit 7e5633a
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions lib/highlight.js
Expand Up @@ -114,8 +114,6 @@ function highlight(str, options) {
return result;
}

if (options.hljs) return hljs.highlight(lang, str);

return tryHighlight(str, result.language) || result;
}

Expand Down

0 comments on commit 7e5633a

Please sign in to comment.