mirror of
https://gitee.com/vnotex/vnote.git
synced 2025-07-05 05:49:53 +08:00
add mark for exemption
This commit is contained in:
parent
3477469b66
commit
b2fb5b1664
@ -214,6 +214,7 @@ class MarkdownIt extends VxWorker {
|
|||||||
this.mdit.use(window.markdownItXSS, {
|
this.mdit.use(window.markdownItXSS, {
|
||||||
whiteList: {
|
whiteList: {
|
||||||
input: ["class", "disabled", "type", "checked"],
|
input: ["class", "disabled", "type", "checked"],
|
||||||
|
mark: ["class"],
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
Loading…
x
Reference in New Issue
Block a user