diff options
author | Alan Pearce | 2014-09-13 21:11:30 +0100 |
---|---|---|
committer | Alan Pearce | 2014-09-13 21:11:30 +0100 |
commit | 03bc73a64af103b388f50858ad725b9fc6417782 (patch) | |
tree | 930fd9a8a384da9a7af4150456dd108b8aef4329 /src | |
parent | d7985eb9ef49be79296904e1ad292f9532a3310b (diff) | |
download | microformats-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.clj | 4 |
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" |