about summary refs log tree commit diff stats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-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 4706992..0454d21 100644
--- a/src/microformats/parser.clj
+++ b/src/microformats/parser.clj
@@ -223,16 +223,16 @@
                     :photo (list (parse-implied-photo element))})))
 
 (defn- select-p
-  [element] (html/select element [(html/attr-contains :class "p-")]))
+  [element] (html/select element [[(html/but-node #{:br :hr}) (html/attr-contains :class "p-")]]))
 
 (defn- select-u
-  [element] (html/select element [(html/attr-contains :class "u-")]))
+  [element] (html/select element [[(html/but-node #{:br :hr}) (html/attr-contains :class "u-")]]))
 
 (defn- select-dt
-  [element] (html/select element [(html/attr-contains :class "dt-")]))
+  [element] (html/select element [[(html/but-node #{:br :hr}) (html/attr-contains :class "dt-")]]))
 
 (defn- select-e
-  [element] (html/select element [(html/attr-contains :class "e-")]))
+  [element] (html/select element [[(html/but-node #{:br :hr}) (html/attr-contains :class "e-")]]))
 
 (defn get-mf-properties
   "Parse children of a microformat, returning a map of properties"