mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-11-23 23:58:31 -05:00
Revert "BUGFIX: highlight standard code blocks"
This reverts commit d5b1b64bb8
.
This commit is contained in:
parent
218384e86c
commit
f397a3e157
1 changed files with 1 additions and 1 deletions
|
@ -16,7 +16,7 @@ Discourse.SyntaxHighlighting = {
|
|||
@param {jQuery.selector} $elem The element we want to apply our highlighting to
|
||||
**/
|
||||
apply: function($elem) {
|
||||
$('pre code', $elem).each(function(i, e) {
|
||||
$('pre code[class]', $elem).each(function(i, e) {
|
||||
return $LAB.script("/javascripts/highlight.pack.js").wait(function() {
|
||||
return hljs.highlightBlock(e);
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue