From a47c342ffdb1860cadee54dd4aca48f83291509f Mon Sep 17 00:00:00 2001 From: Frans de Jonge Date: Wed, 15 Nov 2023 08:38:27 +0100 Subject: [PATCH] Allow `
`, `
` and `
` in JS sanitizer (#39376) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Julien Déramond --- js/src/util/sanitizer.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/js/src/util/sanitizer.js b/js/src/util/sanitizer.js index d2b08082ca67..3d2883aff346 100644 --- a/js/src/util/sanitizer.js +++ b/js/src/util/sanitizer.js @@ -17,7 +17,10 @@ export const DefaultAllowlist = { br: [], col: [], code: [], + dd: [], div: [], + dl: [], + dt: [], em: [], hr: [], h1: [],