Thanks for suggesting (str).
Try:
(:p (str (concatenate 'string "abc" "def"))))
(cl-who:with-html-output-to-string (*standard-output* nil :prologue nil :indent t)
i.e., enclose the lisp form generating the string with (str )
Osei
> _______________________________________________
On Mar 2, 2011, at 2:13 AM, Andrew Pennebaker wrote:
> According to the documentation, with-html-output-to-string can evaluate Lisp forms. In my experience, this is not the case.
>
> (cl-who:with-html-output-to-string (*standard-output* nil :prologue nil :indent t)
> (:p (concatenate 'string "abc" "def")))
>
> Should return
>
> "<p>
> abcdef
> </p>"
>
> but it actually returns
>
> "<p>
> </p>"
>
> Specs:
> • Lispbox CCL 1.6
> • Mac OS X 10.6.6 and Ubuntu 10.10 Maverick
> Cheers,
> Andrew Pennebaker
> cl-who-devel site list
> cl-who-devel@common-lisp.net
> http://common-lisp.net/mailman/listinfo/cl-who-devel
_______________________________________________
cl-who-devel site list
cl-who-devel@common-lisp.net
http://common-lisp.net/mailman/listinfo/cl-who-devel