Hi Pierre, On Sat, Sep 7, 2013 at 5:51 PM, Pierre Joye <pierre....@gmail.com> wrote:
> I like the goal of this proposal. > > It would however fits much better in ext/filter. Yes, escaping has > different purposes than filtering. > > I have some worries about the implementation. It is not an easy task and > some external libraries may already have these features (esp. CSS or JS). > > About the API: > > To have a kind of wrapper class is not very useful. It will most likely > end with static methods with a large set of arguments or options array, not > very sexy. > I agree. It would end up with static methods and not cool. If it's going to be static method only calls, usual functions are better. ext/filter is a good option. I'll add this in the RFC as a choice. Regards, -- Yasuo Ohgaki yohg...@ohgaki.net