From 33255a1dca0deeb5fed2966b03dc64658e8535b3 Mon Sep 17 00:00:00 2001 From: Arun Isaac Date: Sat, 26 Aug 2023 15:17:05 +0100 Subject: html: Remove redundant pair? check on inline CSS. The inline-css engine custom is either a string or a list. If it is a string, we coerce it into a singleton list. So, there is no need to check again that it is a pair. * src/guile/skribilo/engine/html.scm (&html-header-style): Remove redundant pair? check on inline CSS. --- src/guile/skribilo/engine/html.scm | 42 ++++++++++++++++++-------------------- 1 file changed, 20 insertions(+), 22 deletions(-) (limited to 'src') diff --git a/src/guile/skribilo/engine/html.scm b/src/guile/skribilo/engine/html.scm index 65eb9a9..991050b 100644 --- a/src/guile/skribilo/engine/html.scm +++ b/src/guile/skribilo/engine/html.scm @@ -865,28 +865,26 @@ unspecified or #f values are ignored." (markup-writer '&html-header-style :before " \n") (markup-writer '&html-header-javascript -- cgit v1.2.3