You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Because of the CSS_KEYWORDISH-Regex in lib/loofah/html5/scrub.rb, the Size "rem" is filtered in style-attributes like "margin-top:10rem".
The style-attribute will not be removed If the Regex will be extended like this:
/\A(#[0-9a-f]+|rgb(\d+%?,\d*%?,?\d*%?)?|-?\d{0,2}.?\d{0,2}(cm|em|ex|in|mm|pc|pt|px|%|,|))?)\z/
The text was updated successfully, but these errors were encountered:
Because of the CSS_KEYWORDISH-Regex in lib/loofah/html5/scrub.rb, the Size "rem" is filtered in style-attributes like "margin-top:10rem".
The style-attribute will not be removed If the Regex will be extended like this:
/\A(#[0-9a-f]+|rgb(\d+%?,\d*%?,?\d*%?)?|-?\d{0,2}.?\d{0,2}(cm|em|ex|in|mm|pc|pt|px|%|,|))?)\z/
The text was updated successfully, but these errors were encountered: