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

Commit ae10e282 authored by Seigo Nonaka's avatar Seigo Nonaka
Browse files

Fix crash due to NPE for null family name

Bug: 377144570
Test: atest HtmlTest
Flag: EXEMPT bugfix
Change-Id: Ifea3eb85ae86493a9b078adb8b4667462f2bfa1f
parent 2f17d6b3
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -614,7 +614,7 @@ public class Html {
                if (style[j] instanceof TypefaceSpan) {
                    String s = ((TypefaceSpan) style[j]).getFamily();

                    if (s.equals("monospace")) {
                    if ("monospace".equals(s)) {
                        out.append("</tt>");
                    }
                }