about summary refs log tree commit diff stats
path: root/src
diff options
context:
space:
mode:
authorAlan Pearce2014-09-28 20:23:56 +0100
committerAlan Pearce2014-09-28 20:23:56 +0100
commite2571e582fe302337924ecc6aea27505b94b982a (patch)
treeb8d7e2a36f53db8ce45b577f78888940a5adfe93 /src
parent2beb34d0d9481faa111567b6faf019c0c179c591 (diff)
downloadmicroformats-e2571e582fe302337924ecc6aea27505b94b982a.tar.lz
microformats-e2571e582fe302337924ecc6aea27505b94b982a.tar.zst
microformats-e2571e582fe302337924ecc6aea27505b94b982a.zip
Fix error parsing dt value from unexpected element
Diffstat (limited to 'src')
-rw-r--r--src/microformats/parser.clj3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/microformats/parser.clj b/src/microformats/parser.clj
index 27c1388..8d5bb10 100644
--- a/src/microformats/parser.clj
+++ b/src/microformats/parser.clj
@@ -135,7 +135,8 @@
                   :del  (-> el :attrs :datetime)
                   :abbr (-> el :attrs :title)
                   :data (-> el :attrs :value)
-                  :input (-> el :attrs :value))
+                  :input (-> el :attrs :value)
+                  nil)
                 (node-to-text (:content el))
                 "")))