Hi there, I need to:
1. STORE a text of the below format in a (MySQL) database (using a 'textarea'), and then 2. RETRIEVE & DISPLAY it in exactly the same format (meaning: keeping all paragraphs/line breaks). The intended text format looks like this: *** Blah blahblah blah blah blahblah blah blah blahblah blah blah blahblah blah, blah blahblah. <- NEW PARAGRAPH Blah blahblah blah blah. <- LINE BREAK Blah blahblah blah blah blahblah blah blah blahblah blah blah blahblah blah, blah blahblah. *** Until now: - the text is stored in exactly this format in a 'text' field in the database (which I believe is the correct way to do it) - I have used 'simple_format' (http://api.rubyonrails.org/classes/ActionView/Helpers/TextHelper.html#M001719) for displaying The problem is: LINE BREAKS are displayed correctly, but NOT the PARAGRAPHS (they appear like simple line breaks). What am I doing wrong ?! Thanks a bunch for any hints and help ! Tom -- 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 -~----------~----~----~----~------~----~------~--~---

