[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
28/29: website: Insert surrounding spaces when flattening markup.
From: |
Ludovic Courtès |
Subject: |
28/29: website: Insert surrounding spaces when flattening markup. |
Date: |
Wed, 6 Dec 2017 09:24:28 -0500 (EST) |
civodul pushed a commit to branch master
in repository guix-artwork.
commit 65a2394f3dcf820acdab6448fb311b43310a2fa8
Author: Ludovic Courtès <address@hidden>
Date: Wed Dec 6 15:11:28 2017 +0100
website: Insert surrounding spaces when flattening markup.
* website/apps/aux/sxml.scm (sxml->string*): Insert spaces when
flattening.
---
website/apps/aux/sxml.scm | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/website/apps/aux/sxml.scm b/website/apps/aux/sxml.scm
index 2703dba..81da32e 100644
--- a/website/apps/aux/sxml.scm
+++ b/website/apps/aux/sxml.scm
@@ -31,9 +31,9 @@ string."
(define (sxml->strings tree)
(match tree
(((? symbol?) ('@ _ ...) body ...)
- (append-map sxml->strings body))
+ (append-map sxml->strings `(" " ,@body " ")))
(((? symbol?) body ...)
- (append-map sxml->strings body))
+ (append-map sxml->strings `(" " ,@body " ")))
((? string?)
(list tree))
((lst ...)
- 10/29: website: Use actual GuixSD screenshots., (continued)
- 10/29: website: Use actual GuixSD screenshots., Ludovic Courtès, 2017/12/06
- 17/29: website: base: Change http to https in 'graphics'., Ludovic Courtès, 2017/12/06
- 19/29: website: base: Change URLs in 'data' from http to https., Ludovic Courtès, 2017/12/06
- 06/29: website: packages: Interpret synopsis/description Texinfo., Ludovic Courtès, 2017/12/06
- 21/29: website: packages: Gracefully deal with empty package descriptions., Ludovic Courtès, 2017/12/06
- 24/29: website: packages: Remove links to package issues., Ludovic Courtès, 2017/12/06
- 18/29: website: base: Change some http to https., Ludovic Courtès, 2017/12/06
- 23/29: website: Hard-code file:// URL root when GUIX_WEB_SITE_LOCAL., Ludovic Courtès, 2017/12/06
- 20/29: website: Change http to https in URLs., Ludovic Courtès, 2017/12/06
- 25/29: website: packages: 'all-packages' memoizes its result., Ludovic Courtès, 2017/12/06
- 28/29: website: Insert surrounding spaces when flattening markup.,
Ludovic Courtès <=
- 29/29: website: Add pseudo-post about GPCE., Ludovic Courtès, 2017/12/06
- 14/29: website: packages: Add a newline between packages., Ludovic Courtès, 2017/12/06
- 09/29: website: packages: Implement patch links., Ludovic Courtès, 2017/12/06
- 16/29: website: base: Change http to https in some URLs on 'contribute'., Ludovic Courtès, 2017/12/06
- 27/29: website: contact: Tweak., Ludovic Courtès, 2017/12/06
- 22/29: website: packages: /packages shows at most 30 packages., Ludovic Courtès, 2017/12/06
- 26/29: website: Unify and rationalize tags for blog posts., Ludovic Courtès, 2017/12/06