From 3409608702b35caa98af68ff24626fda0e9bac30 Mon Sep 17 00:00:00 2001 From: George Claghorn Date: Fri, 26 Jul 2019 21:37:25 -0400 Subject: [PATCH] Allow the thin and thick CSS keywords They're used as values for the border-width property, which can be specified via the currently-allowed border shorthand property. See https://www.w3.org/TR/css-backgrounds-3/#typedef-line-width. --- lib/loofah/html5/whitelist.rb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/loofah/html5/whitelist.rb b/lib/loofah/html5/whitelist.rb index 467c1d6d..4898f4b9 100644 --- a/lib/loofah/html5/whitelist.rb +++ b/lib/loofah/html5/whitelist.rb @@ -635,6 +635,8 @@ module WhiteList "silver", "solid", "teal", + "thin", + "thick", "top", "transparent", "underline",