8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d20c243 commit 3785c41Copy full SHA for 3785c41
src/vue.js
@@ -32,7 +32,7 @@ const Component = {
32
result = hljs.highlightAuto(this.code);
33
this.detectedLanguage = result.language;
34
} else {
35
- result = hljs.highlight(this.language, this.code, this.ignoreIllegals);
+ result = hljs.highlight(this.code, { language: this.language, ignoreIllegals: this.ignoreIllegals });
36
this.detectedLanguage = this.language;
37
}
38
return result.value;
0 commit comments