I made a webcrawler using Selenium and it returns the content of certain HTML elements. Now I noticed it returns things like
and &
. Is there a simple way to turn these into the right character other than using the replace method for every single entity? I use the JSoup HTML parser to get rid of the unwanted HTML code that the crawler returns, but it doesn't seem to deal with this particular isssue.
Asked
Active
Viewed 176 times
0

RoboticR
- 121
- 2
- 6
-
1If [this answer](http://stackoverflow.com/a/12614297/1016716) solves your problem, we can close this question as a duplicate. – Mr Lister Nov 24 '15 at 09:19
-
@MrLister It did. Thank you very much. Should I delete this question? I don't see an option to close it. – RoboticR Nov 24 '15 at 09:28