From: Tim Düsterhus Date: Mon, 26 Apr 2021 14:49:59 +0000 (+0200) Subject: Add explicit width / height to full size image attachments X-Git-Tag: 5.4.0_Alpha_1~40^2~1 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=d3e3e96ff50487713173bf989bf1c8851ed9941c;p=GitHub%2FWoltLab%2FWCF.git Add explicit width / height to full size image attachments --- 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)) {