Skip to content
This repository was archived by the owner on Jan 6, 2023. It is now read-only.

Commit 3bebf82

Browse files
committed
fix(kityformula-plugin): updated xss whitelist to avoid mistaken kityformula-plugin image
1 parent 8ac9ce5 commit 3bebf82

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ueditor.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -400,7 +400,7 @@
400400
header: [],
401401
hr: [],
402402
i: ['class', 'style'],
403-
img: ['src', 'alt', 'title', 'width', 'height', 'id', '_src', 'loadingclass', 'class'],
403+
img: ['src', 'alt', 'title', 'width', 'height', 'id', '_src', 'loadingclass', 'class', 'data-latex'],
404404
ins: ['datetime'],
405405
li: ['class', 'style'],
406406
mark: [],

0 commit comments

Comments
 (0)