From f285e64305dca32b6124b1d4635847c44503b21e Mon Sep 17 00:00:00 2001 From: Sampo Kuokkanen Date: Wed, 26 May 2021 17:59:55 +0900 Subject: [PATCH] Update safelist.rb to include overflow-x and y 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! --- lib/loofah/html5/safelist.rb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/loofah/html5/safelist.rb b/lib/loofah/html5/safelist.rb index 96d5be1..3acafac 100644 --- a/lib/loofah/html5/safelist.rb +++ b/lib/loofah/html5/safelist.rb @@ -588,6 +588,8 @@ module SafeList "max-width", "order", "overflow", + "overflow-x", + "overflow-y", "page-break-after", "page-break-before", "page-break-inside",