Fixed https://github.com/jhy/jsoup/issues/296