diff --git a/examples/server/public/index.html.gz b/examples/server/public/index.html.gz index 18f7ecac9..26f3583bd 100644 Binary files a/examples/server/public/index.html.gz and b/examples/server/public/index.html.gz differ diff --git a/examples/server/webui/src/main.js b/examples/server/webui/src/main.js index 358a40628..feb741a4e 100644 --- a/examples/server/webui/src/main.js +++ b/examples/server/webui/src/main.js @@ -111,12 +111,12 @@ const VueMarkdown = defineComponent( highlight: function (str, lang) { // Add highlight.js if (lang && hljs.getLanguage(lang)) { try { - return '
' +
+            return '
' +
                    hljs.highlight(str, { language: lang, ignoreIllegals: true }).value +
                    '
'; } catch (__) {} } - return '
' + md.value.utils.escapeHtml(str) + '
'; + return '
' + md.value.utils.escapeHtml(str) + '
'; } })); // support latex with double dollar sign and square brackets