diff --git a/src/render.js b/src/render.js index d29a97a4..8f784fd5 100644 --- a/src/render.js +++ b/src/render.js @@ -45,9 +45,8 @@ export function init (options) { // highlight code renderer.code = function (code, lang = '') { const hl = Prism.highlight(code, Prism.languages[lang] || Prism.languages.markup) - .replace(/{{/g, '{{') - return `
${hl}`
+ return `${hl}`
}
renderer.link = function (href, title, text) {
if (OPTIONS.router && !/:/.test(href)) {