From 1acef32ac9ea0f25041a0f3d71f55fc12d520f37 Mon Sep 17 00:00:00 2001 From: Marcus Kammer Date: Tue, 18 Jul 2023 20:23:51 +0200 Subject: [PATCH] Fix the handle of predefined key arguments --- examples/album.lisp | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/examples/album.lisp b/examples/album.lisp index 9979cd4..85a023d 100644 --- a/examples/album.lisp +++ b/examples/album.lisp @@ -130,10 +130,8 @@ Example usage: ; 'custom-class' and text 'Custom content here' will be added to the footer." `(spinneret:with-html (:footer :class ,(concatenate 'string - (if (null color) "" - (apply #'cl-sbt/utility:color color)) - (if (null spacing) "" - (apply #'cl-sbt/utility:spacing spacing))) + (if color (apply #'cl-sbt/utility:color color) "") + (if spacing (apply #'cl-sbt/utility:spacing spacing) "")) (con () (:p :class "float-end mb-1" (:a :href "#" "Back to top"))