소스 검색

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'],