]> git.mxchange.org Git - friendica.git/blobdiff - src/Content/PageInfo.php
Merge pull request #13133 from annando/start-header
[friendica.git] / src / Content / PageInfo.php
index fa6a93994de978d55dd4e195271edba3610fb1f2..be8d055c96ef8b25fbed99b13635e295a3a9b932 100644 (file)
@@ -1,6 +1,6 @@
 <?php
 /**
- * @copyright Copyright (C) 2010-2022, the Friendica project
+ * @copyright Copyright (C) 2010-2023, the Friendica project
  *
  * @license GNU AGPL version 3 or any later version
  *
@@ -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(['[', ']'], ['&#91;', '&#93;'], 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