Rename variables in parse-h for consistency
1 file changed, 2 insertions(+), 2 deletions(-)
jump to
M src/microformats/parser.clj → src/microformats/parser.clj
@@ -131,8 +131,8 @@ (hash-map :properties (merge ((juxt parse-p parse-u parse-dt parse-e)))))) (defn parse-h "Parse h-* classes within a HTML document." - [html] - (mapv parse-children (html/select html [(html/attr-starts :class "h-")]))) + [element] + (mapv parse-children (html/select element [(html/attr-starts :class "h-")]))) (defn parse "Parse a HTML string with microformats"