From 17f833509f1466654e138ff4c468ab8f651da019 Mon Sep 17 00:00:00 2001 From: NGPixel Date: Fri, 17 Apr 2020 13:09:08 -0400 Subject: [PATCH] fix: html sanitizer - whitelist start prop for ol tag --- server/modules/rendering/html-security/renderer.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/modules/rendering/html-security/renderer.js b/server/modules/rendering/html-security/renderer.js index a0aedfd3..cb866820 100644 --- a/server/modules/rendering/html-security/renderer.js +++ b/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'],