aboutsummaryrefslogtreecommitdiff
path: root/js/src
diff options
context:
space:
mode:
authorFrans de Jonge <[email protected]>2023-11-15 08:38:27 +0100
committerGitHub <[email protected]>2023-11-15 08:38:27 +0100
commitb9f92d70c98e6254893dc326c414f275577f0687 (patch)
tree6b915022f6fd898c3f95582487792fc3c08a337d /js/src
parentadf7a98511b984bdf35df781520fc18076dcf6c2 (diff)
downloadbootstrap-b9f92d70c98e6254893dc326c414f275577f0687.tar.xz
bootstrap-b9f92d70c98e6254893dc326c414f275577f0687.zip
Allow `<dl>`, `<dt>` and `<dd>` in JS sanitizer (#39376)
Co-authored-by: Julien Déramond <[email protected]>
Diffstat (limited to 'js/src')
-rw-r--r--js/src/util/sanitizer.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/js/src/util/sanitizer.js b/js/src/util/sanitizer.js
index d2b08082c..3d2883aff 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: [],