Enable html attributes

This commit is contained in:
Konstantinos Sideris 2018-09-12 13:40:42 +03:00
parent 4565f2cf00
commit a0a76e352b
1 changed files with 8 additions and 1 deletions

View File

@ -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: {