|
|
|
@ -2250,8 +2250,7 @@ public class HtmlHelper {
|
|
|
|
|
setSpan(ssb, new StyleSpan(Typeface.BOLD), start, ssb.length());
|
|
|
|
|
break;
|
|
|
|
|
case "hr":
|
|
|
|
|
boolean dashed = "true".equals(element.attr("x-dashed"));
|
|
|
|
|
if (dashed) {
|
|
|
|
|
// Suppress succesive lines
|
|
|
|
|
LineSpan[] lines = ssb.getSpans(0, ssb.length(), LineSpan.class);
|
|
|
|
|
int last = -1;
|
|
|
|
|
if (lines != null)
|
|
|
|
@ -2273,11 +2272,11 @@ public class HtmlHelper {
|
|
|
|
|
if (blank)
|
|
|
|
|
break;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
ssb.append(LINE);
|
|
|
|
|
boolean dashed = "true".equals(element.attr("x-dashed"));
|
|
|
|
|
float stroke = context.getResources().getDisplayMetrics().density;
|
|
|
|
|
float dash = (dashed ? dp3 : 0f);
|
|
|
|
|
ssb.append(LINE);
|
|
|
|
|
setSpan(ssb, new LineSpan(colorSeparator, stroke, dash), start, ssb.length());
|
|
|
|
|
break;
|
|
|
|
|
case "img":
|
|
|
|
|