From: Jeff Dickens Date: 2003-12-07T09:12:04+09:00 Subject: CGI.pretty and textarea I created form with this code: def form(cgi) CGI.pretty( cgi.html { cgi.head { cgi.title{"This is my form"} } + cgi.body { cgi.h1 {"Test Form"} + cgi.form { cgi.textarea("get_text") {"This is some text"} + cgi.br + cgi.submit({'value'=>'Submit', 'name'=>'submit'}) } #cgi.form } #cgi.body } #cgi.html ) #CGI.pretty end and the output is this: This is my form

Test Form


This causes extraneous white-space in the textarea. I know this isn't a problem specific to ruby, but does anyone have a workaround short of not using CGI.pretty?