diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/microformats/parser.clj | 8 |
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" |