AtomParser::xml_escape( $content )

In this article

Source

function xml_escape($content)
{
         return str_replace(array('&','"',"'",'<','>'),
            array('&amp;','&quot;','&apos;','&lt;','&gt;'),
            $content );
}

User Contributed Notes

You must log in before being able to contribute a note or feedback.