guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

01/02: doc: Handle '&nbsp' when syntax-highlighting HTML.


From: guix-commits
Subject: 01/02: doc: Handle '&nbsp' when syntax-highlighting HTML.
Date: Mon, 13 Dec 2021 05:32:34 -0500 (EST)

civodul pushed a commit to branch master
in repository guix.

commit c946e1464d0850190f899d592bb765fa52b804c2
Author: Ludovic Courtès <ludo@gnu.org>
AuthorDate: Mon Dec 13 11:28:31 2021 +0100

    doc: Handle '&nbsp' when syntax-highlighting HTML.
    
    * doc/build.scm (syntax-highlighted-html)[build](entity->string): Handle 
"&nbsp".
---
 doc/build.scm | 1 +
 1 file changed, 1 insertion(+)

diff --git a/doc/build.scm b/doc/build.scm
index a9e2791..e7b42be 100644
--- a/doc/build.scm
+++ b/doc/build.scm
@@ -449,6 +449,7 @@ its <pre class=\"lisp\"> blocks (as produced by 'makeinfo 
--html')."
                 ("rarr"   "→")
                 ("hellip" "…")
                 ("rsquo"  "’")
+                ("nbsp"   " ")
                 (e (pk 'unknown-entity e) (primitive-exit 2))))
 
             (define (concatenate-snippets pieces)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]