Converted multiple single-comment (//) to multi-line comment block (/* */)

This commit is contained in:
Roland Häder 2022-06-22 18:06:04 +02:00
parent b996712ef7
commit 15d8341d9a
No known key found for this signature in database
GPG Key ID: C82EDE5DDFA0BA77

View File

@ -543,8 +543,11 @@ class ParseUrl
{ {
if (!empty($siteinfo['images'])) { if (!empty($siteinfo['images'])) {
array_walk($siteinfo['images'], function (&$image) use ($page_url) { array_walk($siteinfo['images'], function (&$image) use ($page_url) {
// According to the specifications someone could place a picture url into the content field as well. /*
// But this doesn't seem to happen in the wild, so we don't cover it here. * According to the specifications someone could place a picture
* URL into the content field as well. But this doesn't seem to
* happen in the wild, so we don't cover it here.
*/
if (!empty($image['url'])) { if (!empty($image['url'])) {
$image['url'] = self::completeUrl($image['url'], $page_url); $image['url'] = self::completeUrl($image['url'], $page_url);
$photodata = Images::getInfoFromURLCached($image['url']); $photodata = Images::getInfoFromURLCached($image['url']);