瀏覽代碼

fix: allow highlight color (#1365)

alancnet 5 年之前
父節點
當前提交
73da73a595
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1 0
      server/modules/rendering/html-security/renderer.js

+ 1 - 0
server/modules/rendering/html-security/renderer.js

@@ -19,6 +19,7 @@ module.exports = {
           h6: ['class', 'id', 'style'],
           img: ['alt', 'class', 'draggable', 'height', 'src', 'style', 'width'],
           li: ['class', 'style'],
+          mark: ['class', 'style'],
           ol: ['class', 'style'],
           p: ['class', 'style'],
           path: ['d', 'style'],