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 950404b36e
commit 3c440e8885

View File

@ -1040,7 +1040,7 @@ abstract class Merge
} }
} }
if(!$this->parse_html_styles || ( 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 // Encode special chars so they don't break the file