forked from extern/egroupware
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:
parent
950404b36e
commit
3c440e8885
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user