forked from platypush/platypush
[UI] Fixed deprecated usage of the hljs.highlight API.
This commit is contained in:
parent
f6b3d34eff
commit
91c66cdd48
1 changed files with 2 additions and 2 deletions
|
@ -61,9 +61,9 @@ export default {
|
||||||
}
|
}
|
||||||
|
|
||||||
return hljs.highlight(
|
return hljs.highlight(
|
||||||
'yaml',
|
|
||||||
'# Currently loaded configuration\n' +
|
'# Currently loaded configuration\n' +
|
||||||
this.curYamlConfig
|
this.curYamlConfig,
|
||||||
|
{language: 'yaml'}
|
||||||
).value.trim()
|
).value.trim()
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in a new issue