Skip to content

Commit

Permalink
Allow dl, dt and dd in sanitizer
Browse files Browse the repository at this point in the history
These are inoffensive regular elements, along the same lines as ol/ul with li.
  • Loading branch information
Frenzie authored Nov 7, 2023
1 parent a4d2f59 commit 966f330
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 966f330

Please sign in to comment.