mirror of
https://github.com/friendica/friendica
synced 2025-04-24 12:30:10 +00:00
Rename escapeTags to escapeHtml
rename function and update calls.
This commit is contained in:
parent
b5a97c1abe
commit
063f0e9cb0
16 changed files with 44 additions and 44 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue