Allow Chat Text Format Option working.

This commit is contained in:
Phenom 2015-08-27 23:23:12 +02:00
parent 0b5b20d5ea
commit 88a6931758

View File

@ -416,7 +416,7 @@ QString RsHtml::formatText(QTextDocument *textDocument, const QString &text, ulo
formattedText = doc.toString(-1); // -1 removes any annoying carriage return misinterpreted by QTextEdit
if (flag & RSHTML_OPTIMIZEHTML_MASK) {
optimizeHtml(formattedText, flag & RSHTML_OPTIMIZEHTML_MASK, backgroundColor, desiredContrast);
optimizeHtml(formattedText, flag, backgroundColor, desiredContrast);
}
return formattedText;