Browse Source

fix: allow highlight color (#1365)

alancnet 5 năm trước cách đây
mục cha
commit
73da73a595
1 tập tin đã thay đổi với 1 bổ sung0 xóa
  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'],