Fix style

This commit is contained in:
eai04191 2019-03-12 03:38:05 +09:00
parent ec5a78db38
commit 3fa2d80507

View File

@ -33,7 +33,7 @@ class FC2ContentsResolver implements Resolver
$thumbnailNode = $xpath->query('//*[@class="main_thum_img"]/a')->item(0);
if ($thumbnailNode) {
$metadata->image = preg_replace('~^http:~', "https:", $thumbnailNode->getAttribute('href'));
$metadata->image = preg_replace('~^http:~', 'https:', $thumbnailNode->getAttribute('href'));
}
return $metadata;