Why not just have tal:content="nl2br: var"

Just define phptal_tales_nl2br() and voila :)
On Jun 10, 2011 12:03 PM, "Hisateru Tanaka" <tanakahisat...@gmail.com>
wrote:
> Hi,
>
> I'm trying to extend namespace of PHPTAL to use in my framework.
> 3 new attributes would introduced.
>
> pal:content-nl2br
> pal:replace-nl2br
> pal:attr
>
> They might be things which some users wanted...
>
> Test code is here:
> https://gist.github.com/1016531
> Someone tell me which this implementation is even good or not.
>
> If developer team is planning to change class tree or public/protected
> method, how can I keep compatibility safer?
>
> --
> Hisateru Tanaka
>
> _______________________________________________
> PHPTAL mailing list
> PHPTAL@lists.motion-twin.com
> http://lists.motion-twin.com/mailman/listinfo/phptal
_______________________________________________
PHPTAL mailing list
PHPTAL@lists.motion-twin.com
http://lists.motion-twin.com/mailman/listinfo/phptal

Reply via email to