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:
nathangray 2018-07-19 12:50:22 -06:00 committed by Hadi Nategh
parent 712b8886a7
commit 97b7d1f4bc

View File

@ -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