From d3e3e96ff50487713173bf989bf1c8851ed9941c Mon Sep 17 00:00:00 2001 From: =?utf8?q?Tim=20D=C3=BCsterhus?= Date: Mon, 26 Apr 2021 16:49:59 +0200 Subject: [PATCH] Add explicit width / height to full size image attachments --- .../install/files/lib/system/bbcode/AttachmentBBCode.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wcfsetup/install/files/lib/system/bbcode/AttachmentBBCode.class.php b/wcfsetup/install/files/lib/system/bbcode/AttachmentBBCode.class.php index d1de184637..ca6163326b 100644 --- a/wcfsetup/install/files/lib/system/bbcode/AttachmentBBCode.class.php +++ b/wcfsetup/install/files/lib/system/bbcode/AttachmentBBCode.class.php @@ -116,7 +116,7 @@ class AttachmentBBCode extends AbstractBBCode if ($parser instanceof HtmlBBCodeParser && $parser->getIsGoogleAmp()) { $result = ''; } else { - $result = ''; + $result = ''; } if (!$hasParentLink && ($attachment->width > ATTACHMENT_THUMBNAIL_WIDTH || $attachment->height > ATTACHMENT_THUMBNAIL_HEIGHT)) { -- 2.20.1