mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-23 16:33:17 +01:00
Add div to list of tags that avoid HTML encoding on replacements
Fixes HTML tracker description from external source showing HTML in notifications
This commit is contained in:
parent
712b8886a7
commit
97b7d1f4bc
@ -1070,7 +1070,8 @@ abstract class Merge
|
||||
}
|
||||
}
|
||||
if(!$this->parse_html_styles || (
|
||||
strpos($value, "\n") !== FALSE && strpos($value,'<br') === FALSE && strpos($value, '<span') === FALSE && strpos($value, '<p') === FALSE
|
||||
strpos($value, "\n") !== FALSE &&
|
||||
strpos($value,'<br') === FALSE && strpos($value, '<span') === FALSE && strpos($value, '<p') === FALSE && strpos($value, '<div') === FALSE
|
||||
))
|
||||
{
|
||||
// Encode special chars so they don't break the file
|
||||
|
Loading…
Reference in New Issue
Block a user