view/utils: Do not swallow spaces after URLs.
authorRicardo Wurmus <rekado@elephly.net>
Wed, 13 May 2020 12:26:40 +0000 (14:26 +0200)
committerRicardo Wurmus <rekado@elephly.net>
Wed, 13 May 2020 12:26:40 +0000 (14:26 +0200)
mumi/web/view/utils.scm

index bda6cbe892c5c538c1cb419aff88786032a15da1..6f6e16a2148b862d17a0ceb8e86a0f19c69f688c 100644 (file)
@@ -127,7 +127,7 @@ with the next context."
                                                ,(string-trim-right pre #\<)
                                                (a (@ (href ,uri-string))
                                                   ,uri-string)
                                                ,(string-trim-right pre #\<)
                                                (a (@ (href ,uri-string))
                                                   ,uri-string)
-                                               ,@rest)))
+                                               ,(string-join rest " "))))
                                `(span (@ (class "line")) ,line)))))))
                ((or (string-prefix? "Signed-off-by" line)
                     (string-prefix? "Co-authored-by" line))
                                `(span (@ (class "line")) ,line)))))))
                ((or (string-prefix? "Signed-off-by" line)
                     (string-prefix? "Co-authored-by" line))