Re: [htmltmpl] HTML::Template and XHTML
Brought to you by:
samtregar
From: Chris B. <htm...@pa...> - 2005-10-28 14:30:15
|
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 :) -- Chris Beck - http://pacanukeha.blogspot.com Hanlon's Razor: Never attribute to malice that which is adequately explained by stupidity. |