Skip to content

Commit

Permalink
feat: allow HTML5 element wbr
Browse files Browse the repository at this point in the history
  • Loading branch information
flavorjones committed Jul 31, 2021
1 parent 9c7879f commit c490da0
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Expand Up @@ -2,6 +2,11 @@

## next / unreleased

### Features

* Allow HTML5 element `wbr`.


### Changes

* Deprecating `Loofah::HTML5::SafeList::VOID_ELEMENTS` which is not a canonical list of void HTML4 or HTML5 elements.
Expand Down
1 change: 1 addition & 0 deletions lib/loofah/html5/safelist.rb
Expand Up @@ -140,6 +140,7 @@ module SafeList
"ul",
"var",
"video",
"wbr",
])

MATHML_ELEMENTS = Set.new([
Expand Down

0 comments on commit c490da0

Please sign in to comment.