mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-27 08:19:45 +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);
|
$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')
|
if ($mimetype == 'application/x-yaml')
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user