ezyang / htmlpurifier

Standards compliant HTML filter written in PHP
http://htmlpurifier.org
GNU Lesser General Public License v2.1
3.03k stars 323 forks source link

cerdic/css-tidy should be a suggestions in composer.json #316

Closed func0der closed 2 years ago

func0der commented 2 years ago

Since everytime you are using Filter.ExtractStyleBlocks as a filter, you need css-tidy. A mention in the INSTALL.md is nice to have, but nobody in the PHP world reads that and it does not even appear on the https://packagist.org/packages/ezyang/htmlpurifier site.

I would suggest adding a suggest in the composer.json, so people know that they need to install this library when they want to use the above mentioned filter.