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
The ATTRIBUTE_NODE constant has been deprecated in DOM4. It should no longer be assumed that an attribute has a nodeType.
The changes to the Attribute interface is initially particularly relevant for the Clojurescript implementation of Hickory. It can be accommodated by not recursively mapping over attributes but instead convert attributes in place when building elements.
The text was updated successfully, but these errors were encountered:
The fix is to replace the recursive as-hickory in (map as-hickory (as-seq (aget this "attributes"))) to the equivalent of (fn [this] [(utils/lower-case-keyword (aget this "name")) (aget this "value")]). Ditto for as-hiccup.
The ATTRIBUTE_NODE constant has been deprecated in DOM4. It should no longer be assumed that an attribute has a
nodeType
.The changes to the Attribute interface is initially particularly relevant for the Clojurescript implementation of Hickory. It can be accommodated by not recursively mapping over attributes but instead convert attributes in place when building elements.
The text was updated successfully, but these errors were encountered: