Fixed deprecation
This commit is contained in:
parent
ac7b41ecfc
commit
c3e2bbe4c0
|
@ -48,7 +48,7 @@
|
||||||
}
|
}
|
||||||
// Code
|
// Code
|
||||||
else {
|
else {
|
||||||
htmlContent = hljs.highlight(lang, decompressed).value
|
htmlContent = hljs.highlight(decompressed, { language: lang }).value
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
// Redirect to editor page
|
// Redirect to editor page
|
||||||
|
|
Loading…
Reference in New Issue
Block a user