diff options
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" |