View Issue Details
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0005866||phpList 3 application||General||public||27-03-06 00:15||18-02-08 14:16|
|Target Version||2.10.7||Fixed in Version||2.10.3|
|Summary||0005866: Link in TEXT Mail is not parsed if Link is preceeded by newline|
|Description||How to reproduce:|
Create HTML Message with text
sometext before <a href=
the derived TEXT will look like this:
sometext before google <http://www.google.at/>
I have tried this with click track on and off - it was always reproduceable.
as soon as you add a SPACE before the link it will be parsed correctly in the Text email.
|Tags||No tags attached.|
||yes, that's a weird one, and I can reproduce it. Will have a look to see what's up|
in the function stripHTML
there's a line commented,
$text = preg_replace("/\n/","###NL###",$text);
if you uncomment that line, does that fix it? For me it seems to add a space before the link, but at least parsing seems to work better. Now the issue is to find where that space comes from.
||fixed in CVS|
by the way, your example
< a href="google.at>google</a>
sometext before < a href="google.at">google</a>
misses a " in the first link, so it will still fail.