diff --git a/etemplate/inc/class.bo_merge.inc.php b/etemplate/inc/class.bo_merge.inc.php index ee84a7ce0a..16419e7bc2 100644 --- a/etemplate/inc/class.bo_merge.inc.php +++ b/etemplate/inc/class.bo_merge.inc.php @@ -1381,7 +1381,7 @@ abstract class bo_merge $LF = "\n"; } if($is_xml) { - $this->replacements = str_replace(array('&','<','>',"\r","\n"),array('&','<','>','',$LF),$this->replacements); + $this->replacements = str_replace(array('&','&amp;','<','>',"\r","\n"),array('&','&','<','>','',$LF),$this->replacements); } if (strpos($param[0],'$$NELF') === 0) { //sets a Pagebreak and value, only if the field has a value