I've gone to some effort to create a pretty liberal rule set of tags, but one that still disallows most styling. This should be "safe" to display.
I don't want to release a subclass of HTML::Restrict to share it. How about an HTML::Restrict::Rules that offers some rule sets by name? Then rule sets deemed "worthy" could be included for people to use instead of rolling their own.
(And then possibly the 'rules' parameter could load that if given a string and not a hash reference.)
That sounds like a good idea to me. My main concern has always been to try to keep things simple and I think this would allow people to get up and running quickly without having to create a lot of custom rules.
I've gone to some effort to create a pretty liberal rule set of tags, but one that still disallows most styling. This should be "safe" to display.
I don't want to release a subclass of HTML::Restrict to share it. How about an HTML::Restrict::Rules that offers some rule sets by name? Then rule sets deemed "worthy" could be included for people to use instead of rolling their own.
(And then possibly the 'rules' parameter could load that if given a string and not a hash reference.)