BBCode::HTMLEncode( $string )


Description Description


Source Source

File: includes/admin/parser.php

function HTMLEncode($string) {
if (!$this->allow_ampersand)
return htmlspecialchars($string);
else return str_replace(Array('<', '>', '"'),
Array('&lt;', '&gt;', '&quot;'), $string);
}

Top ↑

User Contributed Notes User Contributed Notes

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