Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 94d5e9ad authored by Romain Guy's avatar Romain Guy
Browse files

Italic should be italic and bold should be bold.

Change-Id: I68933a7d7c32951c4d52d945baaedcb2583caef4
parent aa1c88de
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -449,11 +449,11 @@ class HtmlToSpannedConverter implements ContentHandler {
            handleP(mSpannableStringBuilder);
        } else if (tag.equalsIgnoreCase("div")) {
            handleP(mSpannableStringBuilder);
        } else if (tag.equalsIgnoreCase("em")) {
        } else if (tag.equalsIgnoreCase("strong")) {
            start(mSpannableStringBuilder, new Bold());
        } else if (tag.equalsIgnoreCase("b")) {
            start(mSpannableStringBuilder, new Bold());
        } else if (tag.equalsIgnoreCase("strong")) {
        } else if (tag.equalsIgnoreCase("em")) {
            start(mSpannableStringBuilder, new Italic());
        } else if (tag.equalsIgnoreCase("cite")) {
            start(mSpannableStringBuilder, new Italic());