For starters you can look at the simple_format text helper in Rails.
You can do <%= simple_format(h(@poem.body)) %>

Franz


On Wed, Apr 28, 2010 at 3:24 PM, jmamma <[email protected]> wrote:
> Maybe try something like RedCloth or TinyMCE
> http://tinymce.moxiecode.com/
>
> I haven't personally used either, but they look like something that
> might help you.
>
> On Apr 28, 2:08 am, nirosh <[email protected]> wrote:
>> hi
>> i'm working on a poem site. everything is ok but i dono how to save
>> the poem with the  style which is applied in  the text area. so
>> anybody have any idea.
>>  sorry for my english.
>>
>> thanks in advance
>>
>> --
>> 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 
>> athttp://groups.google.com/group/rubyonrails-talk?hl=en.
>
> --
> 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.
>
>

-- 
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.

Reply via email to