Skip to content

Commit

Permalink
Merge pull request #69 from Mungrel/patch-1
Browse files Browse the repository at this point in the history
Add address to DefaultElementsWithoutAttrs
  • Loading branch information
buro9 committed Jul 15, 2018
2 parents f0761eb + 58e132d commit dafebb5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions policy.go
Original file line number Diff line number Diff line change
Expand Up @@ -440,6 +440,7 @@ func (p *Policy) addDefaultElementsWithoutAttrs() {

p.setOfElementsAllowedWithoutAttrs["abbr"] = struct{}{}
p.setOfElementsAllowedWithoutAttrs["acronym"] = struct{}{}
p.setOfElementsAllowedWithoutAttrs["address"] = struct{}{}
p.setOfElementsAllowedWithoutAttrs["article"] = struct{}{}
p.setOfElementsAllowedWithoutAttrs["aside"] = struct{}{}
p.setOfElementsAllowedWithoutAttrs["audio"] = struct{}{}
Expand Down

0 comments on commit dafebb5

Please sign in to comment.