Enable html attributes
This commit is contained in:
parent
4565f2cf00
commit
a0a76e352b
@ -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: {
|
||||
|
Loading…
Reference in New Issue
Block a user