]> git.mxchange.org Git - friendica.git/commitdiff
spelling: embed
authorJosh Soref <2119212+jsoref@users.noreply.github.com>
Wed, 22 Mar 2023 03:17:35 +0000 (23:17 -0400)
committerJosh Soref <2119212+jsoref@users.noreply.github.com>
Sun, 26 Mar 2023 20:03:23 +0000 (16:03 -0400)
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
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(['[', ']'], ['&#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