mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-03 04:29:28 +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
7c01fa533b
commit
de15acc03d
@ -1071,7 +1071,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