We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9385b67 commit faf4a95Copy full SHA for faf4a95
src/clj/hickory/core.clj
@@ -144,12 +144,17 @@
144
([this] (trampoline as-hickory this (hzip/hickory-zip this)))
145
([this loc] (end-or-recur as-hickory loc (.getWholeText this)))))
146
147
+;; Jsoup/parse is polymorphic, we'll let reflection handle it for now
148
+(set! *warn-on-reflection* false)
149
+
150
(defn parse
151
"Parse an entire HTML document into a DOM structure that can be
152
used as input to as-hiccup or as-hickory."
153
[s]
154
(Jsoup/parse s))
155
156
+(set! *warn-on-reflection* true)
157
158
(defn parse-fragment
159
"Parse an HTML fragment (some group of tags that might be at home somewhere
160
in the tag hierarchy under <body>) into a list of DOM elements that can
0 commit comments