mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-23 00:13:35 +01:00
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
48d2664c71
commit
4d0419f5b4
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user