Explorar o código

fix: html sanitizer - whitelist start prop for ol tag

NGPixel %!s(int64=5) %!d(string=hai) anos
pai
achega
17f833509f
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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'],