flavorjones/loofah — pull request #31 by lucaswiman (2012-03-28 21:12:31+00:00)
Title: Fix logic bug in CSS attribute scrubbing

We need to check if something is neither a valid keyword nor a valid parameter.
The old version excluded perfectly acceptable CSS like "border: 1px solid #ad9b5a;"
"solid" is a valid keyword, and does not match the color/size regular expression, so the css rule got excluded.