View Issue Details

IDProjectCategoryView StatusLast Update
0005866phpList 3 applicationGeneralpublic18-02-08 14:16
Reportertoprach Assigned To 
Status resolvedResolutionfixed 
Product Version2.10.2 
Target Version2.10.7Fixed in Version2.10.3 
Summary0005866: Link in TEXT Mail is not parsed if Link is preceeded by newline
DescriptionHow to reproduce:
Create HTML Message with text>google</a>
sometext before <a href=

the derived TEXT will look like this:

sometext before google <>

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.
TagsNo tags attached.


related to 0003721 closed phplist 2.10.x 
related to 0006570 closed stripHTML() problem with certain HTML code 



28-04-06 01:59

administrator   ~0013162

yes, that's a weird one, and I can reproduce it. Will have a look to see what's up


28-04-06 02:34

administrator   ~0013165

in sendemaillib.php

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.


21-06-06 16:57

administrator   ~0014655

fixed in CVS


21-06-06 17:01

administrator   ~0014656

by the way, your example

< a href=">google</a>
sometext before < a href="">google</a>

misses a " in the first link, so it will still fail.