diff options
author | Alan Pearce | 2014-10-11 10:30:09 +0100 |
---|---|---|
committer | Alan Pearce | 2014-10-11 10:30:09 +0100 |
commit | e81f922f1522030ac801c9f27b8732f0e81d2e08 (patch) | |
tree | 92b484b838b15bfa9a4445f0146b3e491cd13a69 /src | |
parent | 4debb2f471188fdd17a03f7250050b8e83ae9b32 (diff) | |
download | microformats-e81f922f1522030ac801c9f27b8732f0e81d2e08.tar.lz microformats-e81f922f1522030ac801c9f27b8732f0e81d2e08.tar.zst microformats-e81f922f1522030ac801c9f27b8732f0e81d2e08.zip |
Fix whitespace collapsing with multiple elements
Diffstat (limited to 'src')
-rw-r--r-- | src/microformats/parser.clj | 2 |
1 files changed, 1 insertions, 1 deletions
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 |