Custom rendering: strike through support

pull/178/head
M66B 5 years ago
parent 9ea40589e7
commit ce506fa2f8

@ -1999,6 +1999,9 @@ public class HtmlHelper {
case "strong":
ssb.setSpan(new StyleSpan(Typeface.BOLD), start, ssb.length(), Spanned.SPAN_EXCLUSIVE_EXCLUSIVE);
break;
case "s":
ssb.setSpan(new StrikethroughSpan(), start, ssb.length(), Spanned.SPAN_EXCLUSIVE_EXCLUSIVE);
break;
case "u":
ssb.setSpan(new UnderlineSpan(), start, ssb.length(), Spanned.SPAN_EXCLUSIVE_EXCLUSIVE);
break;

Loading…
Cancel
Save