* commit '8d736c1cef10c6d72f3905a9b52da6bbb810ec29': Fix NPE in Html.inParagraph()
This commit is contained in:
@@ -278,7 +278,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>");
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user