We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a708263 commit dd26709Copy full SHA for dd26709
1 file changed
public/js/extra.js
@@ -393,7 +393,7 @@ export function finishView (view) {
393
window.mermaid.init(undefined, $ele)
394
} catch (err) {
395
$value.unwrap()
396
- $value.parent().append(`<div class="alert alert-warning">${S(err.str).escapeHTML().s}</div>`)
+ $value.parent().append(`<div class="alert alert-warning">${escapeHTML(err.str)}</div>`)
397
console.warn(err)
398
}
399
})
0 commit comments