mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-03 12:39:25 +01:00
Fix missing line breaks when merging entries that do not need HTML processing
This commit is contained in:
parent
39d089a4fd
commit
ce94f07599
@ -1132,6 +1132,11 @@ abstract class Merge
|
||||
{
|
||||
$replacements = str_replace(array('&',"\r","\n",'&lt;','&gt;'),array('&','',$break,'<','>'),$replacements);
|
||||
}
|
||||
else
|
||||
{
|
||||
// Need to at least handle new lines, or it'll be run together on one line
|
||||
$replacements = str_replace(array("\r","\n"),array('',$break),$replacements);
|
||||
}
|
||||
}
|
||||
if ($mimetype == 'application/x-yaml')
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user