On Oct 13, 2010, at 3:39 AM, Malthe Borch wrote: > On 12 October 2010 13:40, Paul Everitt <p...@agendaless.com> wrote: >> In the first case, Chameleon refuses to parse the zpt because Expat tries to >> interpret <% as a startTag. In the second case...needless to say, it is >> ironic that we have overlap in syntax. I then tried wrapping a CDATA around >> the block, but Chameleon happily plowed into the CDATA looking for stuff to >> evaluate. > > Wichert's advice to prevent $-evaluation is apt here, although you > could also escape it – I think it's just \$.
Dang, that's exactly the thing I was planning to ask for, and it's already there. :) Thanks guys, makes it easier when doing browser-templates the "normal" way. I might still look at Chris Rossi's way. > As for <% and %> –– I think Chameleon 2.x (work in progress, but > almost there) will parse and accept such tags. That might help on the > situation then. Oh, interesting, will be fun to see how that works. --Paul _______________________________________________ Repoze-dev mailing list Repoze-dev@lists.repoze.org http://lists.repoze.org/listinfo/repoze-dev