mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-01-23 05:41:24 -05:00
Merge pull request #60 from PhenomRetroShare/Fix_AllowChatTextFormatOption
Allow Chat Text Format Option working.
This commit is contained in:
commit
a276986eba
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user