Skip to content

Commit

Permalink
Allow <dl>, <dt> and <dd> in JS sanitizer (twbs#39376)
Browse files Browse the repository at this point in the history
Co-authored-by: Julien Déramond <[email protected]>
  • Loading branch information
Frenzie and julien-deramond committed Nov 15, 2023
1 parent adf7a98 commit b9f92d7
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions js/src/util/sanitizer.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,10 @@ export const DefaultAllowlist = {
br: [],
col: [],
code: [],
dd: [],
div: [],
dl: [],
dt: [],
em: [],
hr: [],
h1: [],
Expand Down

0 comments on commit b9f92d7

Please sign in to comment.