In reply to:
BTW what do you think of the suggestion to have tags that can enclose HTML code...
Derek, the answer is in your message! []/w3timages/icons/smile.gif[/]
Here's it: "forced to carefully go through my code and strip all CR's prior to posting"
I think this can be done this way (give it a try please and tell me if it works):
use <html> .... </html> as tags.
in w3t.pm replace
$value =~ s/\n/< br >/g;
BY
my $string;
my $tempbody = $value;
while ($tempbody =~ /<html>(.*?)<\/html>/g)
{
$string = $&;
$string =~s /\n//g;
$value =~ s/$&/$string/e;
}
and
$body =~ s/\n/< br >/g;
BY
my $string;
my $tempbody = $Body;
while ($tempbody =~ /<html>(.*?)<\/html>/g)
{
$string = $&;
$string =~s /\n//g;
$Body =~ s/$&/$string/e;
}
Scream could want to clean a bit this code.