From e81f922f1522030ac801c9f27b8732f0e81d2e08 Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Sat, 11 Oct 2014 10:30:09 +0100 Subject: Fix whitespace collapsing with multiple elements --- src/microformats/parser.clj | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/microformats/parser.clj b/src/microformats/parser.clj index 4f63d55..8ae5665 100644 --- a/src/microformats/parser.clj +++ b/src/microformats/parser.clj @@ -73,8 +73,8 @@ [content] (->> content html/texts - (map #(str/replace % #"\s+" " ")) (apply str) + (#(str/replace % #"\s+" " ")) str/trim)) (defn get-base-url -- cgit 1.4.1