Fixed newlines in plain text

This commit is contained in:
M66B 2020-05-22 12:30:26 +02:00
parent aacd40e77d
commit 7426479e1a
1 changed files with 5 additions and 0 deletions

View File

@ -2016,6 +2016,11 @@ public class HtmlHelper {
case "br":
newline(ssb.length());
break;
case "div": // compose
case "p": // compose
newline(ssb.length());
newline(ssb.length());
break;
case "i":
case "em":
ssb.setSpan(new StyleSpan(Typeface.ITALIC), start, ssb.length(), Spanned.SPAN_EXCLUSIVE_EXCLUSIVE);