Jonathan Hedley

Results 188 comments of Jonathan Hedley

There's no strong reason, other than the I don't think that the API is very good or one that should be contractual yet. Happy to take suggestions on cleaning it...

Please provide a fragment and the selector so anyone can replicate this. Best to use try.jsoup as mentioned.

Actually I looked at this the other day but forgot to add my notes. The spec and Chrome will ignore the self-closing flag. (So it would parse as `content`.) It...

Hi -- this makes sense and I think is a good idea. One issue with them being static methods (Element.of or Jsoup.parseElement) is that HTML parse settings cannot be applied...

@xiaoxianma thanks - please see my comments on #1521. Similar thoughts on this.

Hi, thanks for this. Can you add some integration tests, and unit tests for the meta tag -> url parser? I think this only works if the content value is...

Good stuff, thanks! I may move some things around (not sure if the recycler should be a public contract API, etc). Enjoy your vacation :)

We could potentially add it. There is `nodeName` which returns a unique string. Generally I've just used the class instanceOf. https://jsoup.org/apidocs/org/jsoup/nodes/Node.html#nodeName()

I guess we could update Connection to remember the fragment. It's a client-side only thing and doesn't get sent to the server during the connection, hence why it's not in...

Sure, why not? Happy to review a PR if you want to get in there yourself.