summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJuan Manuel Tomás <jtomas1815@gmail.com>2022-08-07 19:04:53 -0300
committerJuan Manuel Tomás <jtomas1815@gmail.com>2022-08-07 19:04:53 -0300
commit92efd155febdaf7e44300f031502b6d0c8a03c54 (patch)
treea8c1832d24a65f5b657871aa97a7abbc8245ac58
parent20ab54531205d94763f51753c1b02cc42685f4e0 (diff)
downloadshtml-92efd155febdaf7e44300f031502b6d0c8a03c54.tar.gz
shtml-92efd155febdaf7e44300f031502b6d0c8a03c54.zip
Remove extraneous separator inside tag body
-rw-r--r--shtml.lisp4
1 files changed, 2 insertions, 2 deletions
diff --git a/shtml.lisp b/shtml.lisp
index b20ece7..17bc96a 100644
--- a/shtml.lisp
+++ b/shtml.lisp
@@ -52,7 +52,7 @@
(let ((body (gensym))
(parsed-args (separate-keys ,args)))
`((lambda (,body &key ,@',attrs)
- (format nil "<~a~{ ~a=~s~}>~{~a~^ ~}</~a>"
+ (format nil "<~a~{ ~a=~s~}>~{~a~}</~a>"
,,tag-name
(trim-flatten-assoc ,',attrs-and-values)
,body
@@ -70,7 +70,7 @@
(let ((body (gensym))
(parsed-args (separate-keys ,args)))
`((lambda (,body &key ,@',attrs)
- (format nil "<!DOCTYPE html><~a~{ ~a=~s~}>~{~a~^ ~}</~a>"
+ (format nil "<!DOCTYPE html><~a~{ ~a=~s~}>~{~a~}</~a>"
,,tag-name
(trim-flatten-assoc ,',attrs-and-values)
,body