<div dir="ltr">I was not just playing with REPL, I tried to compile the code and reloaded the image<br>(let ((*attribute-quote-char* #\"))<br>
(with-html-output-to-string (*standard-output* nil :prologue nil :indent nil)<br> (:html <br> (:head <br> (:title "title")<br> (:meta :name "DESCRIPTION" :content "description")<br>
(:meta :name "KEYWORDS" :content "keywords")))))<br><br>but I still had a single quote in the resulting code.<br>Andrew<br><br><div class="gmail_quote">On Wed, Aug 13, 2008 at 7:16 AM, Edi Weitz <span dir="ltr"><<a href="mailto:edi@agharta.de">edi@agharta.de</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div class="Ih2E3d">On Tue, 12 Aug 2008 18:07:46 -0400, "Andrei Stebakov" <<a href="mailto:lispercat@gmail.com">lispercat@gmail.com</a>> wrote:<br>
<br>
> By default the variable is initialized to #\' If I want to change it<br>
> to #\" via local binding I still get the single quotes in the<br>
> resulting string.<br>
<br>
</div>WITH-HTML-OUTPUT is a macro, so what is relevant is the value of<br>
*ATTRIBUTE-QUOTE-CHAR* at macro expansion time. If you play around in<br>
the REPL, this is obviously different for Lisps which always compile<br>
everything (like SBCL) and Lisps which use an interpreter for REPL<br>
forms (like LispWorks). See chapter 3 of the CLHS for details.<br>
<br>
Edi (still on vacation).<br>
<div><div></div><div class="Wj3C7c">_______________________________________________<br>
cl-who-devel site list<br>
<a href="mailto:cl-who-devel@common-lisp.net">cl-who-devel@common-lisp.net</a><br>
<a href="http://common-lisp.net/mailman/listinfo/cl-who-devel" target="_blank">http://common-lisp.net/mailman/listinfo/cl-who-devel</a><br>
</div></div></blockquote></div><br></div>