]> git.mxchange.org Git - friendica.git/blobdiff - src/Content/PageInfo.php
Merge pull request #13375 from MrPetovan/bug/empty-timeline
[friendica.git] / src / Content / PageInfo.php
index 0c60008a197f2fb0d31e7f0b247579b1dc941b92..be8d055c96ef8b25fbed99b13635e295a3a9b932 100644 (file)
@@ -141,7 +141,7 @@ class PageInfo
                        $data['text'] = '';
                }
 
-               // Only embedd a picture link when it seems to be a valid picture ("width" is set)
+               // Only embed a picture link when it seems to be a valid picture ("width" is set)
                if (!empty($data['images']) && !empty($data['images'][0]['width'])) {
                        $preview = str_replace(['[', ']'], ['[', ']'], htmlentities($data['images'][0]['src'], ENT_QUOTES, 'UTF-8', false));
                        // if the preview picture is larger than 500 pixels then show it in a larger mode