mirror of
https://git.sekbaer.de/Friendica/friendica.git
synced 2025-06-10 17:14:26 +02: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