Fixed Fix for minor HTML error: "No space between attributes"

Steffen

Well-known member
Affected version
2.3.0 RC2
Diff:
--- a/src/XF/Template/Templater.php
+++ b/src/XF/Template/Templater.php
@@ -4064,7 +4064,7 @@ class Templater
             $url = htmlspecialchars($emojiInfo['image']);
             $size = $emojiInfo['size'];
 
-            $html .= '<img src="' . $url . '"loading="lazy" width="' . $size . '" height="' . $size . '" class="reaction-image reaction-image--emoji js-reaction" alt="' . $reactionTitle . '" title="' . $reactionTitle . '"' . $tooltip . ' />';
+            $html .= '<img src="' . $url . '" loading="lazy" width="' . $size . '" height="' . $size . '" class="reaction-image reaction-image--emoji js-reaction" alt="' . $reactionTitle . '" title="' . $reactionTitle . '"' . $tooltip . ' />';
         }
         else if (empty($reaction['sprite_params']))
         {
 
Back
Top Bottom