From: Marcel Werk Date: Thu, 30 Jan 2020 14:10:54 +0000 (+0100) Subject: Changed layout of amp images to responsive X-Git-Tag: 5.2.2~19 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=222cbe28067c38ccdc471cd156951ed02fe0eda5;p=GitHub%2FWoltLab%2FWCF.git Changed layout of amp images to responsive --- diff --git a/wcfsetup/install/files/lib/system/html/output/AmpHtmlOutputProcessor.class.php b/wcfsetup/install/files/lib/system/html/output/AmpHtmlOutputProcessor.class.php index 9749a63d30..505ce590cd 100644 --- a/wcfsetup/install/files/lib/system/html/output/AmpHtmlOutputProcessor.class.php +++ b/wcfsetup/install/files/lib/system/html/output/AmpHtmlOutputProcessor.class.php @@ -117,7 +117,7 @@ class AmpHtmlOutputProcessor extends HtmlOutputProcessor { $html = preg_replace_callback('/]+)>/i', function($match) { $attributes = str_replace('data-width="', 'width="', $match[1]); $attributes = str_replace('data-height="', 'height="', $attributes); - return ''; + return ''; }, $html); $html = str_ireplace('