
15 Mar
2007
15 Mar
'07
7:02 a.m.
Inge Bylemans writes:
Hi,
When I put the :indent option to true in with-html-output-to-string, the textarea is filled with spaces, even when it is not empty, a new line start with spaces behind it. Is there a way to put :indent to true without side effect on my textarea?
What I do is to wrap the textarea in another with-html-output without :indent t, e.g. (with-html-output-to-string (s nil :prologue t :indent t) (with-html-output (s) (:textarea :name name :rows rows :cols cols (esc (or value ""))))) Cheers, Toby.