[cl-who-devel] Evaluating forms inside of	with-html-output-to-string
    Osei Poku 
    osei.poku at gmail.com
       
    Wed Mar  2 07:23:46 UTC 2011
    
    
  
Try:
(cl-who:with-html-output-to-string (*standard-output* nil :prologue nil :indent t)
 (:p (str (concatenate 'string "abc" "def"))))
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 at common-lisp.net
> http://common-lisp.net/mailman/listinfo/cl-who-devel
    
    
More information about the Cl-who-devel
mailing list