[cl-who-devel] Strange (str ...) behavior.

Stas Boukarev stassats at gmail.com
Tue Jul 8 12:46:40 UTC 2008


On Tue, Jul 8, 2008 at 4:36 PM, Edi Weitz <edi at agharta.de> wrote:
> On Tue, 8 Jul 2008 16:33:13 +0400, "Stas Boukarev" <stassats at gmail.com> wrote:
>
>> I have the following with cl-who-0.11.1:
>>> (with-html-output-to-string (i)
>>   (:div :id (str "foo")))
>>
>> "<divfoo id='foo'></div>"
>
> You're mixing tag content and attributes.  Try this:
>
>  (with-html-output-to-string (i)
>    (:div :id "foo"))

Ah, thanks.

-- 
With Best Regards, Stas.



More information about the Cl-who-devel mailing list