> HTML::Template works for anything as you all know. The trouble I'm
> having is that WML needs more escaping than good old HTML (WML turned
> out to be a templating language in itself with user agent performing
> simple variable substituition in the document).
> 
> As far as I understand the only way to add an ESCAPE filter is to
> hack _parse method (subclassing or just patching). Looks like
> ESCAPE filters are all hardwired and spread over the code of the method.
> 
> Did anyone face these problems? Or is WML that dead and no one cares
> about it anymore? :)

I also found that it was quite hard to plugin custom ESCAPE types - so I 
modified my copy of H::T so that the escaping code is handled by subclasses of 
a new H::T::ESCAPE module.

The idea is that you subclasss H::T::ESCAPE, then submit the new escape-type 
back for everyone else to use.
You can download my version of H::T here:  http://members.optusnet.com.au/mathew

Hope this helps,
Mathew



-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id492&op=click
_______________________________________________
Html-template-users mailing list
Html-template-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/html-template-users

Reply via email to