Merge pull request #60 from PhenomRetroShare/Fix_AllowChatTextFormatOption

Allow Chat Text Format Option working.
This commit is contained in:
Cyril Soler 2015-08-29 14:22:31 -04:00
commit a276986eba

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 formattedText = doc.toString(-1); // -1 removes any annoying carriage return misinterpreted by QTextEdit
if (flag & RSHTML_OPTIMIZEHTML_MASK) { if (flag & RSHTML_OPTIMIZEHTML_MASK) {
optimizeHtml(formattedText, flag & RSHTML_OPTIMIZEHTML_MASK, backgroundColor, desiredContrast); optimizeHtml(formattedText, flag, backgroundColor, desiredContrast);
} }
return formattedText; return formattedText;