From 966f3307cbcec81e2e97ae3b79a577440f0a8552 Mon Sep 17 00:00:00 2001 From: Frans de Jonge Date: Tue, 7 Nov 2023 13:46:38 +0100 Subject: [PATCH] Allow dl, dt and dd in sanitizer These are inoffensive regular elements, along the same lines as ol/ul with li. --- 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: [],