Created
December 10, 2013 13:55
-
-
Save dcsobral/7890914 to your computer and use it in GitHub Desktop.
JSoup demo
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
scala> Jsoup.parse("<B>bold, <I>bould italic, </b>italic, </i>normal text") | |
res0: org.jsoup.nodes.Document = | |
<html> | |
<head></head> | |
<body> | |
<b>bold, <i>bould italic, </i></b> | |
<i>italic, </i>normal text | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Lagarto doesn't go so far as to add html and body tags, and doesn't seem to take the same decisions about missing tags: