forked from extern/egroupware
* 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;
|
$message .= $newBody;
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
$newBody = strip_tags($newBody);
|
$newBody = strip_tags(self::htmlspecialchars($newBody));
|
||||||
|
$newBody = htmlspecialchars_decode($newBody,ENT_QUOTES);
|
||||||
$newBody = explode("\n",$newBody);
|
$newBody = explode("\n",$newBody);
|
||||||
// create it new, with good line breaks
|
// create it new, with good line breaks
|
||||||
reset($newBody);
|
reset($newBody);
|
||||||
|
Loading…
Reference in New Issue
Block a user