Forum: Ruby on Rails PROBLEM WITH FCK EDITOR

Posted by saritha chakilala (sarithachakilala)
on 2013-01-19 08:34
HI ALL,

       1. i am using fck editor in my application.
       2. when i type any text in fck editor it was saved in hml format
in database(i.e, mysql)
       3. when i was try to retrieve the text it will displaying in html
format not as plain text

      how to solve this problem???please help me??thanks in advance??
Posted by Saravanan P (Guest)
on 2013-01-19 09:15
(Received via mailing list)
if 'content' is the field, you stored html data.

<%= raw content %>


On Sat, Jan 19, 2013 at 1:04 PM, saritha chakilala 
<lists@ruby-forum.com>wrote:

> --
>
>


--
Regards by
Saravanan.P
Posted by saritha chakilala (sarithachakilala)
on 2013-01-19 10:05
ok its fine in show, index pages...
But, in pdf it is not working....
how to do this same functionality in pdf file....
please replay me...
Please log in before posting. Registration is free and takes only a minute.
Existing account (Switch to SSL-encrypted connection)
NEW: Do you have a Google/GoogleMail or Yahoo account? No registration required!
Log in with Google account | Log in with Yahoo account
No account? Register here.