pull/194/merge
M66B 3 years ago
parent 59208b20ee
commit 54ddd065f9

@ -3277,10 +3277,8 @@ public class HtmlHelper {
} }
static String toHtml(Spanned spanned, Context context) { static String toHtml(Spanned spanned, Context context) {
Log.i("MMM text=" + spanned.toString().replace("\n", "|"));
HtmlEx converter = new HtmlEx(context); HtmlEx converter = new HtmlEx(context);
String html = converter.toHtml(spanned, TO_HTML_PARAGRAPH_LINES_INDIVIDUAL); String html = converter.toHtml(spanned, TO_HTML_PARAGRAPH_LINES_INDIVIDUAL);
Log.i("MMM html=" + html.replace("\n", "|"));
Document doc = JsoupEx.parse(html); Document doc = JsoupEx.parse(html);
@ -3360,8 +3358,6 @@ public class HtmlHelper {
last.remove(); last.remove();
} }
Log.i("MMM fixed=" + doc.html().replace("\n", "|"));
return doc.html(); return doc.html();
} }

Loading…
Cancel
Save