diff --git a/var/Widget/Base/Comments.php b/var/Widget/Base/Comments.php index 05a52701..2a4d0fac 100644 --- a/var/Widget/Base/Comments.php +++ b/var/Widget/Base/Comments.php @@ -289,7 +289,7 @@ class Comments extends Base implements QueryInterface Comments::pluginHandle()->trigger($plugged)->gravatar($size, $rating, $default, $this); if (!$plugged) { $url = Common::gravatarUrl($this->mail, $size, $rating, $default, $this->request->isSecure()); - echo '' .
+                echo '<img class='; } } diff --git a/var/Widget/Options/General.php b/var/Widget/Options/General.php index 0b8fde9a..52c7971a 100644 --- a/var/Widget/Options/General.php +++ b/var/Widget/Options/General.php @@ -272,7 +272,7 @@ class General extends Options implements ActionInterface } $attachmentTypesOptions = [ - '@image@' => _t('图片文件') . ' (gif jpg jpeg png tiff bmp webp)', + '@image@' => _t('图片文件') . ' (gif jpg jpeg png tiff bmp webp avif)', '@media@' => _t('多媒体文件') . ' (mp3 mp4 mov wmv wma rmvb rm avi flv ogg oga ogv)', '@doc@' => _t('常用档案文件') . ' (txt doc docx xls xlsx ppt pptx zip rar pdf)', '@other@' => _t(