I did some research and it seems that is standard Jsoup make this change. I wonder if there is a way to configure this or is there some other Parser I can be converted to a
Here is a code sample (version >= 1.11.x):
Parser parser = Parser.htmlParser(); parser.settings(new ParseSettings(true, true)); Document doc = parser.parseInput(html, baseUrl);