","\"", "'", "-"), 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 */