summary refs log tree commit diff
path: root/doc
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2021-12-13 11:28:31 +0100
committerLudovic Courtès <ludo@gnu.org>2021-12-13 11:31:53 +0100
commitc946e1464d0850190f899d592bb765fa52b804c2 (patch)
treecb818072eef0b1d6dcffeab6ef00cc4afeef96ab /doc
parentcf2251b9f7a53a3303ea71d197bef4a96997a4c3 (diff)
downloadguix-c946e1464d0850190f899d592bb765fa52b804c2.tar.gz
doc: Handle '&nbsp' when syntax-highlighting HTML.
* doc/build.scm (syntax-highlighted-html)[build](entity->string): Handle "&nbsp".
Diffstat (limited to 'doc')
-rw-r--r--doc/build.scm1
1 files changed, 1 insertions, 0 deletions
diff --git a/doc/build.scm b/doc/build.scm
index a9e279159b..e7b42be17c 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)