Index: branches/5.2.x/core/units/helpers/xml_helper.php =================================================================== diff -u -N -r15601 -r15856 --- branches/5.2.x/core/units/helpers/xml_helper.php (.../xml_helper.php) (revision 15601) +++ branches/5.2.x/core/units/helpers/xml_helper.php (.../xml_helper.php) (revision 15856) @@ -1,6 +1,6 @@ OriginalAttributes as $name => $value) { - $att_contents[] = $name.'="'.htmlspecialchars($value, null, CHARSET).'"'; + $att_contents[] = $name.'="'.kUtil::escape($value, kUtil::ESCAPE_HTML).'"'; } $xml .= implode(' ', $att_contents); }