Find the base URL only once
1 file changed, 1 insertion(+), 1 deletion(-)
jump to
M src/microformats/parser.clj → src/microformats/parser.clj
@@ -403,7 +403,7 @@ (defn parse "Parse a HTML string with microformats" ([html] - (let [document (some->> html to-node with-base-url)] + (let [document (to-node html)] (parse document (get-base-url document)))) ([html base-url] (let [document (some->> html to-node first (with-base-url base-url) z/xml-zip)]