diff --git a/header.php b/header.php index 36bbb44..e100cf7 100755 --- a/header.php +++ b/header.php @@ -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'; } @@ -89,8 +89,14 @@ $description = "PSMReborn is the largest archive of PlayStation Mobile content on the internet containing Games, SDK's, Source Code, and Unity for PSM exporters."; } - $descsocial = str_replace("
", PHP_EOL, $description); - $descsocial = str_replace('"', '\\"', $descsocial); + $descsocial = str_replace("
", PHP_EOL, $description); + $descsocial = str_replace("
", PHP_EOL, $descsocial); + $descsocial = str_replace("
", PHP_EOL, $descsocial); + $descsocial = str_replace("
", PHP_EOL, $descsocial); + $descsocial = str_replace('"', '', $descsocial); + $descsocial = str_replace("'", "", $descsocial); + + /* * Write metadata */