diff --git a/public/js/extra.js b/public/js/extra.js index 7b33d263..d0a7c2d2 100644 --- a/public/js/extra.js +++ b/public/js/extra.js @@ -393,7 +393,7 @@ export function finishView (view) { window.mermaid.init(undefined, $ele) } catch (err) { $value.unwrap() - $value.parent().append(`
${S(err.str).escapeHTML().s}
`) + $value.parent().append(`
${escapeHTML(err.str)}
`) console.warn(err) } })