Allow <p> tag to enable HTML parsing as well as <br> and <span>, fixes using p for line breaks and no other formatting resulted in unparsed HTML when merging.

This commit is contained in:
nathangray 2017-02-17 08:56:37 -07:00
parent 48d2664c71
commit 4d0419f5b4

View File

@ -1042,7 +1042,7 @@ abstract class Merge
}
}
if(!$this->parse_html_styles || (
strpos($value, "\n") !== FALSE && strpos($value,'<br') === FALSE && strpos($value, '<span') === FALSE
strpos($value, "\n") !== FALSE && strpos($value,'<br') === FALSE && strpos($value, '<span') === FALSE && strpos($value, '<p') === FALSE
))
{
// Encode special chars so they don't break the file