Fix colored font in chat.

Colored styles were replaced by emoticons.
This commit is contained in:
Phenom 2015-12-26 15:57:46 +01:00
parent f5c2aa31e3
commit 162b5fa2eb

View File

@ -239,6 +239,8 @@ void RsHtml::embedHtml(QTextDocument *textDocument, QDomDocument& doc, QDomEleme
QDomElement element = node.toElement(); QDomElement element = node.toElement();
if(element.tagName().toLower() == "head") { if(element.tagName().toLower() == "head") {
// skip it // skip it
} else if(element.tagName().toLower() == "style") {
// skip it
} else if (element.tagName().toLower() == "a") { } else if (element.tagName().toLower() == "a") {
// skip it // skip it
if (embedInfos.myType == Ahref) { if (embedInfos.myType == Ahref) {