You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
borkdude
changed the title
.attr("name") on DocumentType returns null since 1.18.2
.attr("name") on DocumentType returns empty string since 1.18.2
Dec 6, 2024
I reverted it so that using .attr("name") will work again. I had considered these internal attributes and so that the specific key used would not matter (as the defined API to get the name is doctype.name()), but effectively, yes, they are part of the public API.
In version 1.18.2 the
.documentType
on a document as parsed from"<!DOCTYPE html>"
returns an empty string for thename
attribute:Is this intentional or a bug? This surfaced when I tried to upgrade Jsoup in the hickory library for Clojure:
https://github.com/clj-commons/hickory
The text was updated successfully, but these errors were encountered: