On 2005-10-28, Chris Beck <[EMAIL PROTECTED]> wrote: > Rumour has it Mathew Robertson, on or about 25.Oct.2005 19:48, whispered: >> you can do this with a filter: >> >> my $match = qr/(<[Tt][Mm][Pp][Ll]_[^>]+)\/>/; >> my $filter = sub { >> my $text_ref = shift; >> $$text_ref =~ s/$match/$1>/g; >> }; > > Hi Mathew, thanks for the help. I am already using filters so I can embed > tags > in form fields. I was just hoping for a new XHTML aware version :)
Even if HTML::Template supported this, <tmpl_var> is not a valid XHTML tag. Did you have another part to your solution that would solve that aspect? It seems like it would necessary to teach your other tools about this as well. Mark -- http://mark.stosberg.com/ ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click _______________________________________________ Html-template-users mailing list Html-template-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/html-template-users