civodul pushed a commit to branch master
in repository guix-artwork.
commit 17ccfa7dd493be5c6a77e88fe59002bfb2c386b2
Author: Ludovic Courtès <[email protected]>
Date: Wed Dec 6 13:50:21 2017 +0100
website: packages: Gracefully deal with empty package descriptions.
* website/apps/packages/utils.scm (package-synopsis-shtml): Add case for
empty/fishy descriptions.
---
website/apps/packages/utils.scm | 2 ++
1 file changed, 2 insertions(+)
diff --git a/website/apps/packages/utils.scm b/website/apps/packages/utils.scm
index a6a4674..8944269 100644
--- a/website/apps/packages/utils.scm
+++ b/website/apps/packages/utils.scm
@@ -74,6 +74,8 @@ vocabulary."
;; Strip the paragraph that 'texinfo->shtml' adds.
(match (texinfo->shtml synopsis)
(('div ('p text ...))
+ text)
+ (text ;fishy description
text)))))
(define git-description