mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-23 23:29:31 +01:00
* felamimail/infolog: fix for stripping too much text when strip_tags stumbles over assumed broken tags; happens sometimes, when converting a text-only mail to infolog and the mail has stuff like: <1 USD/p
This commit is contained in:
parent
ee0b4722b4
commit
8032a5155e
@ -3562,7 +3562,8 @@
|
||||
$message .= $newBody;
|
||||
continue;
|
||||
}
|
||||
$newBody = strip_tags($newBody);
|
||||
$newBody = strip_tags(self::htmlspecialchars($newBody));
|
||||
$newBody = htmlspecialchars_decode($newBody,ENT_QUOTES);
|
||||
$newBody = explode("\n",$newBody);
|
||||
// create it new, with good line breaks
|
||||
reset($newBody);
|
||||
|
Loading…
Reference in New Issue
Block a user