[cl-who-devel] indent textarea
Edi Weitz
edi at agharta.de
Tue Mar 13 19:17:00 UTC 2007
On Tue, 13 Mar 2007 16:07:54 +0100, "Inge Bylemans" <ingebdh at 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>.
More information about the Cl-who-devel
mailing list