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