Insert missing width
authorOlaf Braun <olaf_schmitz_1@t-online.de>
Thu, 21 Dec 2023 04:41:53 +0000 (05:41 +0100)
committerGitHub <noreply@github.com>
Thu, 21 Dec 2023 04:41:53 +0000 (05:41 +0100)
wcfsetup/install/files/lib/system/bbcode/WoltLabSuiteMediaBBCode.class.php

index b77b796ed2a0e45752f98d6544ef1b213bd9621c..71e381dcf03c0e6c4dad80224648d53c383bb470 100644 (file)
@@ -80,6 +80,7 @@ final class WoltLabSuiteMediaBBCode extends AbstractBBCode
                         'removeLinks' => $removeLinks,
                         'float' => 'none',
                         'media' => $media->getLocalizedVersion(MessageEmbeddedObjectManager::getInstance()->getActiveMessageLanguageID()),
+                        'width' => 'auto',
                     ]);
                 }