I wrote a Mod that mails the record to (multiple) friends. The only problem is that html tags are send in the mail. (The html-tags are part of the record and are entered by users. There allowed to do this!)
Is there a routine that would remove alll html-tags? So I can modify my line_wrap to remove all html.
Something like:
sub linewrap {
# --------------------------------------------------------
# Wraps a line into 60 char chunks.
my $line = shift; defined $line or return '';
$line = &remove_all_html_tags($line);
my @data = split /\t/, $line;
Is there a routine that would remove alll html-tags? So I can modify my line_wrap to remove all html.
Something like:
sub linewrap {
# --------------------------------------------------------
# Wraps a line into 60 char chunks.
my $line = shift; defined $line or return '';
$line = &remove_all_html_tags($line);
my @data = split /\t/, $line;