From 0d874b45d0834aefc7edf02eb7c916ae6ab197b3 Mon Sep 17 00:00:00 2001 From: Arun Isaac Date: Sat, 2 Dec 2023 00:20:23 +0000 Subject: html: Do not assume authors are strings. * src/guile/skribilo/engine/html.scm (html-title-authors): Use output to convert authors to strings. --- src/guile/skribilo/engine/html.scm | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/guile/skribilo/engine/html.scm b/src/guile/skribilo/engine/html.scm index b00b93c..b57cba1 100644 --- a/src/guile/skribilo/engine/html.scm +++ b/src/guile/skribilo/engine/html.scm @@ -1048,7 +1048,11 @@ ignored, return #f." (html-open 'div `((style . ,(style-declaration '((text-align . "center")))))) - (display (string-join authors ", ")) + (display (string-join (map (lambda (author) + (with-output-to-string + (cut output author engine))) + authors) + ", ")) (html-close 'div)))) ;*---------------------------------------------------------------------*/ -- cgit v1.2.3