stevebauman/purify

Multiple configs?

Closed this issue · 1 comments

Hey Steve. Thanks a lot for this package.

I'm working on a website building platform and need to use different rules for different fields. For example, the "Custom CSS" field should only contain CSS, a page's content field should only contain HTML + CSS etc.

I was thinking of using config::set to modify the config dynamically, but was wondering if there was a cleaner approach.

Erm never mind. Should have read the readme more carefully :) Closing.