package HTML::Quoter; require HTML::Filter; @ISA=qw(HTML::Filter); my $data=''; sub output{ my $self=shift; my $d=$_[0]; if($d=~/\<\s*\/?\s*(\w+)/){ $data.=$d; }else{ $d=~s/\"/"/gs; $data.=$d; } } my $p=HTML::Quoter->new(); $p->parse_file("quotes.html"); print $data;
In reply to Re: Encode quotes except in HTML?
by lhoward
in thread Encode quotes except in HTML?
by morbus
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |