[cl-who-devel] Strange (str ...) behavior.
Edi Weitz
edi at agharta.de
Tue Jul 8 12:36:00 UTC 2008
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"))
The documentation for CL-WHO is here:
http://weitz.de/cl-who/#syntax
Edi.
More information about the Cl-who-devel
mailing list