Title : yes it is CPAN Module Version: 2.04
--------------------------------------------------------------------------------
http://search.cpan.org/~sburke/HTML-...L/Formatter.pm
Aforementioned is the link of the CPAN formatter.pm file. When we use Formatter.pm and FormatText.pm files it removes all the Html tags present in Html file. What I want is to remove all the tags but keeping the tags which starts with <a href .
So following is a part of that formatter.pm file code we have to change to keep <a href tags by leaving all the code in Formatter.pm file as it is.
-
sub a_start
-
{
-
shift->{anchor}++;
-
1;
-
}
-
-
sub a_end
-
{
-
shift->{anchor}--;
-
}
-
I have tried to change it but I am not good in writing code in perl so I cant do so.
Because you are expert and I am sure you can do it in very short time. This is why I need your help.
If you still have any question related to it please email me XXXXXXXXXX
I am waiting for you warm response.