Feed-on-Feeds icon indicating copy to clipboard operation
Feed-on-Feeds copied to clipboard

Better `style` sanitizing

Open fluffy-critter opened this issue 5 years ago • 0 comments

Certain web CMSes (*cough* Publ *cough*) make use of style attributes in ways that tend to break some things when they're completely filtered out. But we don't want every possible style to be whitelisted. It's a good idea to parse out the CSS rules (which is a pain) and only allow in certain whitelisted ones, like background-image, border-shape, and float/clear.

fluffy-critter avatar Mar 01 '19 23:03 fluffy-critter