Skip to content
Snippets Groups Projects
Commit a0a76e35 authored by Konstantinos Sideris's avatar Konstantinos Sideris
Browse files

Enable html attributes

parent 4565f2cf
Branches issue1440
No related tags found
No related merge requests found
......@@ -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: {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment