From bd9946bff9d68a69eca0bf69bfcf69b05e9374f6 Mon Sep 17 00:00:00 2001
From: Nicolas Werner <nicolas.werner@hotmail.de>
Date: Mon, 13 Jun 2022 11:12:21 +0200
Subject: [PATCH] Fix height attribute for emotes

---
 src/CombinedImagePackModel.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/CombinedImagePackModel.cpp b/src/CombinedImagePackModel.cpp
index 6dadbef45..8847fe652 100644
--- a/src/CombinedImagePackModel.cpp
+++ b/src/CombinedImagePackModel.cpp
@@ -58,7 +58,7 @@ CombinedImagePackModel::data(const QModelIndex &index, int role) const
         switch (role) {
         case CompletionModel::CompletionRole:
             return QStringLiteral(
-                     "<img data-mx-emoticon height=32 src=\"%1\" alt=\"%2\" title=\"%2\">")
+                     "<img data-mx-emoticon height=\"32\" src=\"%1\" alt=\"%2\" title=\"%2\">")
               .arg(QString::fromStdString(images[index.row()].image.url).toHtmlEscaped(),
                    !images[index.row()].image.body.empty()
                      ? QString::fromStdString(images[index.row()].image.body)
-- 
GitLab