X-Git-Url: http://git.onelab.eu/?p=www-register-wizard.git;a=blobdiff_plain;f=helpers%2Fxml_helper.php;h=90cce3dda59d872c0caac8aa5dbdaf0a314e1bd4;hp=83e2bb3a05e5e7ce0a4efc7a59fc2d703498df17;hb=4afb2fe256f094a1caf6bff14f51c6a88938cc9f;hpb=6907967d36358724c676a7998f55fc34e40c3b21 diff --git a/helpers/xml_helper.php b/helpers/xml_helper.php index 83e2bb3..90cce3d 100644 --- a/helpers/xml_helper.php +++ b/helpers/xml_helper.php @@ -1,62 +1,62 @@ -","\"", "'", "-"), - array("&", "<", ">", """, "'", "-"), - $str); - - // Decode the temp markers back to entities - $str = preg_replace("/$temp(\d+);/","&#\\1;",$str); - $str = preg_replace("/$temp(\w+);/","&\\1;", $str); - - return $str; - } -} - - -/* End of file xml_helper.php */ +","\"", "'", "-"), + array("&", "<", ">", """, "'", "-"), + $str); + + // Decode the temp markers back to entities + $str = preg_replace("/$temp(\d+);/","&#\\1;",$str); + $str = preg_replace("/$temp(\w+);/","&\\1;", $str); + + return $str; + } +} + + +/* End of file xml_helper.php */ /* Location: ./system/helpers/xml_helper.php */ \ No newline at end of file