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 959e1af..94e8381 100644 --- a/src/microformats/parser.clj +++ b/src/microformats/parser.clj @@ -43,7 +43,7 @@ :abbr (-> el :attrs :title) :data (-> el :attrs :value) :input (-> el :attrs :value) - (first (:content el)))) + (or (first (:content el)) ""))) (defn parse-p "Parse p-* classes within HTML element." |