From b2fb5b1664c86841841a8d30beeb3dbb328c76f4 Mon Sep 17 00:00:00 2001 From: Le Tan Date: Mon, 8 Jul 2024 21:52:02 +0800 Subject: [PATCH] add mark for exemption --- src/data/extra/web/js/markdownit.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/data/extra/web/js/markdownit.js b/src/data/extra/web/js/markdownit.js index 123342fef7..32d70f9469 100644 --- a/src/data/extra/web/js/markdownit.js +++ b/src/data/extra/web/js/markdownit.js @@ -214,6 +214,7 @@ class MarkdownIt extends VxWorker { this.mdit.use(window.markdownItXSS, { whiteList: { input: ["class", "disabled", "type", "checked"], + mark: ["class"], } }); });