diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/microformats/parser.clj | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/microformats/parser.clj b/src/microformats/parser.clj index 9801515..573d3e2 100644 --- a/src/microformats/parser.clj +++ b/src/microformats/parser.clj @@ -157,7 +157,7 @@ (defn parse-rels "Parse rel attibutes of a set of HTML link elements" [elements] - (apply merge-with into (map parse-rel (select-rels elements)))) + (or (apply merge-with into (map parse-rel (select-rels elements))) {})) (defn parse "Parse a HTML string with microformats" |