mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-10-01 02:35:48 -04:00
Fix Underline Bug in Forum Posts
This commit is contained in:
parent
b4efb412be
commit
41caeac281
@ -1059,11 +1059,13 @@ static void styleCreate(QDomDocument& doc
|
||||
(flag & RSHTML_FORMATTEXT_REMOVE_FONT_SIZE && key == "font-size") ||
|
||||
(flag & RSHTML_FORMATTEXT_REMOVE_FONT_WEIGHT && key == "font-weight") ||
|
||||
(flag & RSHTML_FORMATTEXT_REMOVE_FONT_STYLE && key == "font-style")) {
|
||||
style += "{}";
|
||||
continue;
|
||||
}
|
||||
|
||||
if (flag & RSHTML_FORMATTEXT_REMOVE_COLOR) {
|
||||
if (key == "color") {
|
||||
style += "{}";
|
||||
continue;
|
||||
}
|
||||
} else if (flag & RSHTML_FORMATTEXT_FIX_COLORS) {
|
||||
@ -1078,6 +1080,7 @@ static void styleCreate(QDomDocument& doc
|
||||
// it can become unreadable on the original background.
|
||||
// Also, FIX_COLORS is intended to display text on the default
|
||||
// background color of the operating system.
|
||||
style += "{}";
|
||||
continue;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user