Skip to content

Commit

Permalink
Update safelist.rb to include overflow-x and y
Browse files Browse the repository at this point in the history
Just run into the problem of overflow-x and y disappearing. 
It seems like the end-goal is to not to have to maintain a list like this, but at least in my use case overflow-y is used quite a bit. 
So it would be pretty great to have it as allowed property too!
  • Loading branch information
sampokuokkanen authored and flavorjones committed Jun 6, 2021
1 parent b079e2b commit f285e64
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/loofah/html5/safelist.rb
Original file line number Diff line number Diff line change
Expand Up @@ -588,6 +588,8 @@ module SafeList
"max-width",
"order",
"overflow",
"overflow-x",
"overflow-y",
"page-break-after",
"page-break-before",
"page-break-inside",
Expand Down

0 comments on commit f285e64

Please sign in to comment.