hickory icon indicating copy to clipboard operation
hickory copied to clipboard

HTML as data

Results 35 hickory issues
Sort by recently updated
recently updated
newest added

- Remove unused jsoup `Node` import in core.clj. - Remove `try` form with no catch or finally clause from `hickory-to-hiccup`. - Fix first test of `or-test`, which had no asserts.

Hickory has multiple issues due to outdated dependencies, which render it unusable with current versions of Clojure, Java, etc. - The version of jsoup it depends on has CVEs (#62)....

``` (let [data "abcdef"] (h/as-hiccup (h/parse data))) ``` gives me ``` ([:html {} [:head {}] [:body {} [:root {} [:link {}] "abc" [:link {}] "def"]]]) ``` when i should expect...

This fixes https://nvd.nist.gov/vuln/detail/CVE-2021-37714 , which is a vulnerability in `jsoup` leaving users who parse untrusted xml or html open to DOS attacks. I skimmed through the changelog for all versions...

In HiccupRepresentable and HickoryRepresentable if the node type is Attribute then lower-case-keyword is applied. However, from https://developer.mozilla.org/en-US/docs/Web/SVG/Attribute some svg tags have uppercase characters like viewBox (there are others). This causes...

type: bug
category: parsing

Pull request #33 allegedly solved the compatibility issues with Node.js. The Readme, however, still states that Hickory “won't work out of the box on node”. I've been reading the heck...

Issue #17 reports an incompatibility with nodejs where loading fails due to missing DOM bindings. I have resolved this issue by replacing`js/Node` with `goog.dom/NodeType` and made `js/NodeList` optional, which eliminates...

React wants a map instead of string. `Invariant Violation: The`style`prop expects a mapping from style properties to values, not a string. For example, style={{marginRight: spacing + 'em'}} when using JSX.`...

type: bug
category: parsing

Class names can be separated by any whitespace according to [DOM standard](https://dom.spec.whatwg.org/#concept-class) I came across line feed following a class in [this page](https://www.booking.com/searchresults.en-us.html?label=gen173nr-1DCAEoggI46AdIM1gEaFCIAQGYATG4AQfIAQzYAQPoAQH4AQKIAgGoAgO4ApXIw-sFwAIB&sid=e0eddec745517c5943b68c9173ce7e52&sb=1&src=index&src_elem=sb&error_url=https%3A%2F%2Fwww.booking.com%2Findex.html%3Flabel%3Dgen173nr-1DCAEoggI46AdIM1gEaFCIAQGYATG4AQfIAQzYAQPoAQH4AQKIAgGoAgO4ApXIw-sFwAIB%3Bsid%3De0eddec745517c5943b68c9173ce7e52%3Bsb_price_type%3Dtotal%26%3B&ss=London%2C+Greater+London%2C+United+Kingdom&is_ski_area=0&checkin_month=&checkin_monthday=&checkin_year=&checkout_month=&checkout_monthday=&checkout_year=&group_adults=2&group_children=0&no_rooms=1&b_h4u_keep_filters=&from_sf=1&ss_raw=london&ac_position=0&ac_langcode=en&ac_click_type=b&dest_id=-2601889&dest_type=city&iata=LON&place_id_lat=51.507391&place_id_lon=-0.127634&search_pageview_id=42244a0a9b0f0048&search_selected=true): ``` class="sr-hotel__name " ```

Can we move codox-klipse-theme to a dev dependency so it isn't part of runtime decencies. Right now it has GPLv3 license and that has some ramification for anyone using this...