about summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--src/microformats/parser.clj8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/microformats/parser.clj b/src/microformats/parser.clj
index 558f784..882759a 100644
--- a/src/microformats/parser.clj
+++ b/src/microformats/parser.clj
@@ -27,10 +27,10 @@
 
 (defn element-to-classes
   "Get list of classes from an element"
-  [el] (-> el
-           :attrs
-           :class
-           split-classes))
+  [el] (some-> el
+               :attrs
+               :class
+               split-classes))
 
 (defn get-p-value
   "Get the p-x property value of an element"