Differentiate between formatted and preview text

This commit is contained in:
M66B
2020-02-11 19:37:26 +01:00
parent ffebe78922
commit fe35cc0c1e
4 changed files with 7 additions and 3 deletions

View File

@@ -1070,6 +1070,10 @@ public class HtmlHelper {
return preview;
}
static String getPreviewText(String html) {
return JsoupEx.parse(html).text();
}
static String getText(String html) {
final StringBuilder sb = new StringBuilder();