I am using Mail::Audit to process email. In order to process the message body, I need to create a text string out of the array reference handed to me by
my $body = $item->body;
and I do
$tbody = join('',@$body);
The strange thing occurs with the following:
Raw input containing
<a style=3D"color: blue" href=3D"http://online.wsj.com/article/SB11966
+351958=
6211071.html?mod=3Dgooglenews_wsj">
is actually changed to
<a style=3D"color: blue" href=3D"http://online.wsj.com/article/SB11966
+35195=
86211071.html?mod=3Dgooglenews_wsj">
What is not visible above is that in both cases the equal sign is followed by NL (x0A). It seems to shift the =NL combination one position to the left in the resulting text string.
It happens only in the cases where the line contains "href".
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
| |
For: |
|
Use: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.