Rename escapeTags to escapeHtml
rename function and update calls.
This commit is contained in:
@@ -59,7 +59,7 @@ class Strings
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
public static function escapeTags($string)
|
||||
public static function escapeHtml($string)
|
||||
{
|
||||
return htmlspecialchars($string, ENT_COMPAT, 'UTF-8', false);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user