From 03bc73a64af103b388f50858ad725b9fc6417782 Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Sat, 13 Sep 2014 21:11:30 +0100 Subject: Rename variables in parse-h for consistency --- src/microformats/parser.clj | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/microformats/parser.clj b/src/microformats/parser.clj index 800d403..97d0376 100644 --- a/src/microformats/parser.clj +++ b/src/microformats/parser.clj @@ -131,8 +131,8 @@ (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" -- cgit 1.4.1