Missing closing head tag

This commit is contained in:
Phyks 2014-07-30 23:36:58 +02:00
parent b34c66d08d
commit 3bc81fbafa
1 changed files with 1 additions and 1 deletions

View File

@ -48,7 +48,7 @@ function getFavicon($urls) {
}
foreach($contents['results'] as $url=>$content) {
$content = substr($content, 0, strpos($content, '</head>')).'</html>'; // We don't need the full page, just the <head>
$content = substr($content, 0, strpos($content, '</head>')).'</head></html>'; // We don't need the full page, just the <head>
$html = new DOMDocument();
$html->strictErrorChecking = false;