On 10/1/06, Dark Ambient
<sambient-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
wrote:> I have TinyMCE in a user form which is saving correctly to the
> database. However when I go to output all of it is showing up as text:
> i.e. :
>
> <div id="contentWrapper">
> <div id="banner">
> </div>
> <div id="menu">
> <a href="/index.html">Home</a> |
>
> <a href="/changelog.html">Changelog</a> |
> <a href="/example_full.php?example=true">Examples</a>
|
> <a href="/documentation.php">Manual</a> |
> <a href="/plugins.php">Plugins</a> |
> <a href="/support/">Support</a
>
> Is there something I need to do outside of <%= @mymodel.myhtmlfield
%>
> to make it display correctly ?
>
> TIA
> Stuart
>
>
I''ve done some googling and it seems that perhaps line breaks are
causing the code not to be redisplayed as HTML formatted. What is the
best method to get the formatting into the database without the
various &.. or do I do that on the way out ?
Stuart
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---