I tried to use this code to completely clear the text from HTML elements:
Jsoup.clean(preparedText, Whitelist.none())
Unfortunately, he did not delete the . I thought he would replace it with a space, just as he would replace · midpoint ("& middot;").
Should I use a different method to achieve this functionality?
java html jsoup
Ziv gabovitch
source share