Menu

#12 [HTML Generator] Tags with attributes

open
nobody
None
5
2002-04-22
2002-04-22
No

The generation of HTML tags with attributes fails when
using the `html' macro without binding the
*html-stream* variable.

> (html ((:a :href "link.html") "link"))
fails -> nil instead of stream error

> (html-stream *standard-output*
(html ((:a :href "link.html") "link")))
<a HREF="link.html">link</a>

Note that simple tag works:

> (html (:h3 "title"))
<h3>title</h3>

Discussion


Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.