Andrei Stebakov
2008-08-12 22:07:46 UTC
By default the variable is initialized to #\'
If I want to change it to #\" via local binding I still get the single
quotes in the resulting string.
(let ((*attribute-quote-char* #\"))
(with-html-output-to-string (*standard-output* nil :prologue nil :indent
nil)
(:html
(:head
(:title "title")
(:meta :name "DESCRIPTION" :content "description")
(:meta :name "KEYWORDS" :content "keywords")))))
I get:
"<html><head><title>title</title><meta name='DESCRIPTION'
content='description' /><meta name='KEYWORDS' content='keywords'
/></head></html>"
Is it possible to make a local new binding or I should change it only
globally?
Thank you,
Andrew
If I want to change it to #\" via local binding I still get the single
quotes in the resulting string.
(let ((*attribute-quote-char* #\"))
(with-html-output-to-string (*standard-output* nil :prologue nil :indent
nil)
(:html
(:head
(:title "title")
(:meta :name "DESCRIPTION" :content "description")
(:meta :name "KEYWORDS" :content "keywords")))))
I get:
"<html><head><title>title</title><meta name='DESCRIPTION'
content='description' /><meta name='KEYWORDS' content='keywords'
/></head></html>"
Is it possible to make a local new binding or I should change it only
globally?
Thank you,
Andrew