diff --git a/src/Utils.cpp b/src/Utils.cpp index 6ac675d4..84978bae 100644 --- a/src/Utils.cpp +++ b/src/Utils.cpp @@ -306,7 +306,14 @@ utils::linkifyMessage(const QString &body) if (xml.name() == "html") break; - textString += "<" + xml.name() + ">"; + textString += "<" + xml.name(); + + const auto attrs = xml.attributes(); + for (const auto &e : attrs) + textString += QString(" %1=\"%2\"").arg(e.name()).arg(e.value()); + + textString += ">"; + break; } case QXmlStreamReader::EndElement: {