Fix missing line breaks when merging entries that do not need HTML processing

This commit is contained in:
Nathan Gray 2016-04-11 15:21:16 +00:00
parent 39d089a4fd
commit ce94f07599

View File

@ -1132,6 +1132,11 @@ abstract class Merge
{
$replacements = str_replace(array('&',"\r","\n",'<','>'),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')
{