Hi all, I'd like to unindent a block of ERB specifically to combat the extra spacing being added to content inside <textarea> by the browser. Is there such a feature in ERB?
I shall denote indentation with underscores in the pseudo code example below. Thanks in advance, Khoan. myview.erb: <html ...> __<%= render 'form' %> </html> _form.erb: <% form_for ... do %> __<%= render 'unindented' %> <% end %> _unindented.erb: <textarea><%= 'this is unindented' %></textarea> which would output something along the line of: <html ...> __<form ...> ____<textarea>this is unindented</textarea> __</form> </html> I want something to this effect: <html ...> __<form ...> <textarea>this is unindented</textarea> __</form> </html> -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

