lang-auto not being treated correctly after update
This commit is contained in:
parent
7fb8fda7bf
commit
0f29269de8
|
@ -9,6 +9,7 @@ export default function highlightSyntax($elem) {
|
|||
if (!path) { return; }
|
||||
|
||||
$(selector, $elem).each(function(i, e) {
|
||||
$(e).removeClass('lang-auto');
|
||||
loadScript(path).then(() => hljs.highlightBlock(e));
|
||||
});
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue