소스 검색

fix: html sanitizer - whitelist start prop for ol tag

NGPixel 5 년 전
부모
커밋
17f833509f
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      server/modules/rendering/html-security/renderer.js

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

@@ -27,7 +27,7 @@ module.exports = {
           label: ['class', 'id', 'for'],
           li: ['class', 'style'],
           mark: ['class', 'style'],
-          ol: ['class', 'style'],
+          ol: ['class', 'style', 'start'],
           p: ['class', 'style'],
           path: ['d', 'style'],
           pre: ['class', 'style'],