forked from Li/psmreborn
add htmlspecialchars back
This commit is contained in:
parent
47d6807490
commit
80c12c33bd
|
@ -62,7 +62,7 @@
|
|||
$game = str_replace("*", "",$game);
|
||||
$title = getTitle($game);
|
||||
$description = $title . " - ";
|
||||
$description .= getDesc($game)." - ";
|
||||
$description .= getDesc($game);
|
||||
$description .= " - PSMReborn #1 place for all PSM Content";
|
||||
$image .= 'http://'.$_SERVER['HTTP_HOST'].'/gameinfo/'.$game.'/icon_512x512.png';
|
||||
}
|
||||
|
@ -95,6 +95,9 @@
|
|||
$descsocial = str_replace("<br>", PHP_EOL, $descsocial);
|
||||
$descsocial = str_replace('"', '\"', $descsocial);
|
||||
$descsocial = str_replace("'", "\'", $descsocial);
|
||||
|
||||
$descsocial = htmlspecialchars($descsocial, ENT_QUOTES);
|
||||
|
||||
/*
|
||||
* Write metadata
|
||||
*/
|
||||
|
|
Loading…
Reference in New Issue