[twill] empty textareas submit newline?

gabor gabor at nekomancer.net
Sun Mar 5 14:18:29 PST 2006


i have a simple webpage with a form with a textarea,
     <form action="" method="get">
         <textarea name="teaser" rows="10" cols="40"></textarea>

the problem is that when i go there with twill, and do a submit, it 
submits this:


a newline.

a different way to reproduce the problem is to simply use "showforms".
and you will see that for all the should-be-empty textareas the content 
is a newline (there is an empty line below the textarea's line).

so, is this a bug or i am doing something very stupid :) ?


More information about the twill mailing list