NOTE:: Before reporting an issue, make sure you are running the latest version, currently 3.3.1

View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0005866phplist applicationAll Otherpublic27-03-06 00:1518-02-08 14:16
PlatformOSOS Version
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:

google[/URLTEXT][/LINK] [^]
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.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
related to 0003721closed phplist 2.10.x 
related to 0006570closed stripHTML() problem with certain HTML code 

-  Notes
michiel (manager)
28-04-06 01:59

yes, that's a weird one, and I can reproduce it. Will have a look to see what's up
michiel (manager)
28-04-06 02:34

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.
michiel (manager)
21-06-06 16:57

fixed in CVS
michiel (manager)
21-06-06 17:01

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.

Copyright © 2000 - 2017 MantisBT Team
Powered by Mantis Bugtracker