GT-2732 - Hovers - review fixes

This commit is contained in:
dragonmacher 2019-05-02 11:02:35 -04:00
parent e82796a4aa
commit cee63184d0

View File

@ -59,10 +59,10 @@ public class ColorAndStyle {
public String toHtml(String text) {
String html = text;
if (style == Font.BOLD) {
if (isBold()) {
html = HTMLUtilities.bold(html);
}
if (style == Font.ITALIC) {
if (isItalic()) {
html = HTMLUtilities.italic(html);
}