From 91c66cdd4830a0557c8fee524a17d5fbc6e2ebe4 Mon Sep 17 00:00:00 2001 From: Fabio Manganiello Date: Sun, 22 Sep 2024 02:36:43 +0200 Subject: [PATCH] [UI] Fixed deprecated usage of the hljs.highlight API. --- .../http/webapp/src/components/panels/Extensions/Config.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/platypush/backend/http/webapp/src/components/panels/Extensions/Config.vue b/platypush/backend/http/webapp/src/components/panels/Extensions/Config.vue index 9061836fb1..02ba691dcc 100644 --- a/platypush/backend/http/webapp/src/components/panels/Extensions/Config.vue +++ b/platypush/backend/http/webapp/src/components/panels/Extensions/Config.vue @@ -61,9 +61,9 @@ export default { } return hljs.highlight( - 'yaml', '# Currently loaded configuration\n' + - this.curYamlConfig + this.curYamlConfig, + {language: 'yaml'} ).value.trim() }, },