refactor(HtmlParser.java): add back the text method
This commit is contained in:
@@ -371,4 +371,9 @@ public class HtmlParser{
|
|||||||
domain=domain.substring(4);
|
domain=domain.substring(4);
|
||||||
return domain;
|
return domain;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// MOSHIDON: thou shalt have *text*
|
||||||
|
public static String text(String html) {
|
||||||
|
return Jsoup.parse(html).body().wholeText();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user