Replace quotes with the html version of it.
Paramètres
string $string: Input string. Convert quotes to html chars.
Return value
string Transformed string.
1 call to advagg_jsspecialchars()
- theme_html_script_tag dans ./
advagg.module - Returns HTML for a generic HTML tag with attributes.
Fichier
-
./
advagg.module, line 4048
Code
function advagg_jsspecialchars($string = '') {
$string = str_replace('"', '"', $string);
$string = str_replace("'", ''', $string);
return $string;
}