
13 Mar
2007
13 Mar
'07
7:17 p.m.
On Tue, 13 Mar 2007 16:07:54 +0100, "Inge Bylemans" <ingebdh@gmail.com> wrote:
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.
Yes, I'm aware of that. I personally don't mind as I only use the :INDENT option for debugging.
Is there a way to put :indent to true without side effect on my textarea?
Something like this (untested): (defmethod who:convert-tag-to-string-list :around ((tag (eql :textarea)) attr-list body body-fn) (let ((who::*indent* nil)) (call-next-method))) See <http://weitz.de/cl-who/#convert-tag-to-string-list>.