diff --git a/client/components/editor/editor-markdown.vue b/client/components/editor/editor-markdown.vue index 38134d82..965f618d 100644 --- a/client/components/editor/editor-markdown.vue +++ b/client/components/editor/editor-markdown.vue @@ -243,7 +243,7 @@ const md = new MarkdownIt({ linkify: true, typography: true, highlight(str, lang) { - return `
${str}
` + return `
${_.escape(str)}
` } }) .use(mdAttrs, {