about summary refs log tree commit diff stats
path: root/src
diff options
context:
space:
mode:
authorAlan Pearce2014-09-13 21:11:30 +0100
committerAlan Pearce2014-09-13 21:11:30 +0100
commit03bc73a64af103b388f50858ad725b9fc6417782 (patch)
tree930fd9a8a384da9a7af4150456dd108b8aef4329 /src
parentd7985eb9ef49be79296904e1ad292f9532a3310b (diff)
downloadmicroformats-03bc73a64af103b388f50858ad725b9fc6417782.tar.lz
microformats-03bc73a64af103b388f50858ad725b9fc6417782.tar.zst
microformats-03bc73a64af103b388f50858ad725b9fc6417782.zip
Rename variables in parse-h for consistency
Diffstat (limited to 'src')
-rw-r--r--src/microformats/parser.clj4
1 files changed, 2 insertions, 2 deletions
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"