One can also produce the same behavior in `#lang scribble/text`:
#lang scribble/text
@(require pollen/template/html)
@(define (test)
(->html `(pre " 1\n 2\n 3\n 4")))
@(define (iden . s) s)
@iden{@(test)}
Given that this is not a Pollen problem per se, you might get a more satisfying
◊(define test `(pre " 1\n 2\n 3\n 4"))
◊(->html test)
◊when/splice[#t]{◊(->html test)}
in the template file results in:
1
2
3
4
1
2
3
4
while:
◊(define test `(pre " 1\n 2\n 3\n 4"))
◊(->html test)
◊when/splice[#t]{◊(->html test)}
results in:
1
2
3
4
1
2
3
4
This causes wrong