On 19 February 2011 09:30, khoan <[email protected]> wrote: > <html> > <body> > <textarea>if indent then > __indent > end</textarea> > > __<textarea>if indent then > __indent > end</textarea> > > </body> > </html> > > When viewed in the browser: > > the first <textarea> appears as and will be saved as thus: > > if indent then > __indent > end > > similarly, 2nd <textarea> appears as and will be saved as thus: > > __if indent then > ____indent > __end
OK, that is not the problem you originally asked. From your first message you have <textarea><%= 'this is unindented' %></textarea> which is not the above situation at all. Can you show me the erb you are using to generate the problem code you are now showing? Colin -- 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.

