simple_format(your_text_here) ----- Ryan Bigg Freelancer http://frozenplague.net
On 08/01/2009, at 1:00 PM, Zhao Yi wrote: > > srj wrote: >> You should not try that because the text area is designed to wrap >> text >> automatically - there really are not new line characters in the text >> area, unless you manually inserted them. In that case, they should >> remain. > > I have input "\n" at each line of the text, but it doesn't work. > -- > Posted via http://www.ruby-forum.com/. > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

