escape_tags calls
implement escapeTags function
This commit is contained in:
@@ -56,7 +56,7 @@ class Strings
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
public static function escapeTags($string) // escape_tags()
|
||||
public static function escapeTags($string)
|
||||
{
|
||||
return htmlspecialchars($string, ENT_COMPAT, 'UTF-8', false);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user