mirror of
https://github.com/friendica/friendica
synced 2025-04-26 13:10:11 +00:00
escape_tags calls
implement escapeTags function
This commit is contained in:
parent
a0f65ca7a1
commit
0e01568ccd
16 changed files with 52 additions and 50 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue