Improve pretty printing

This commit is contained in:
paku 2024-02-20 17:01:19 +09:00
parent 7d94d02f42
commit 929b93960d

View file

@ -47,7 +47,7 @@
(if (elm:element-children element)
(format stream (if (rest (elm:element-children element))
"~@<<~a~a>~2I~:@_~<~@{~a~^~:@_~}~:>~0I~:@_</~a>~:>"
"~@<<~a~a>~2I~:_~<~a~:>~0I~:_</~a>~:>")
"~@<<~a~a>~2I~:_~<~a~^~:@_~:>~0I~_</~a>~:>")
(elm:element-tag element)
(elm:element-attrs element)
(elm:element-children element)