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

Commit 20a4a574 authored by Treehugger Robot's avatar Treehugger Robot Committed by Gerrit Code Review
Browse files

Merge "Avoid NPE in Html.toHtml() when <font> is missing a face attribute" into main

parents e39d5212 505a55c3
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -614,7 +614,7 @@ public class Html {
                if (style[j] instanceof TypefaceSpan) {
                if (style[j] instanceof TypefaceSpan) {
                    String s = ((TypefaceSpan) style[j]).getFamily();
                    String s = ((TypefaceSpan) style[j]).getFamily();


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