with-tag* outputs no newlines
This commit is contained in:
parent
ef48e4e5ae
commit
549594bef4
|
@ -148,10 +148,8 @@
|
||||||
(define (with-tag* out tag thunk . attrs)
|
(define (with-tag* out tag thunk . attrs)
|
||||||
(apply emit-tag out tag attrs)
|
(apply emit-tag out tag attrs)
|
||||||
(let ((out (fmt->port out)))
|
(let ((out (fmt->port out)))
|
||||||
(newline out)
|
|
||||||
(call-with-values thunk
|
(call-with-values thunk
|
||||||
(lambda results
|
(lambda results
|
||||||
(newline out)
|
|
||||||
(emit-close-tag out tag)
|
(emit-close-tag out tag)
|
||||||
(apply values results)))))
|
(apply values results)))))
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue