summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/Utils.cpp9
1 files changed, 8 insertions, 1 deletions
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: {