I building a form for user profile editing.
There is a textarea for description field.
If the user insert in text area the code of a youtube video file,
<object ...
when he reeditingthe the descrption the text area have problems with
rendering.
the code of view is:
<textarea name="description"
id="description"><%=@description></textarea>
Is there a function for @description, for render the text that the user
are insert and not render the video in textarea?
Thanks
--
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
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---