mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-01-23 22:01:05 -05:00
Merge pull request #2109 from PhenomRetroShare/Fix_UnderlineBug
Fix Underline Bug in Forum Posts
This commit is contained in:
commit
4a7906376f
@ -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