Rails 3: simple_format not prints the text inside " "

259 Views Asked by At

I am using simple_format to convert text with html tags to plain text in my rails application , everything works well, But simple_format doesn't shows the text inside " "quotations

simple_format(post["text"])

This is my rails code, I have used sanitize: false also but it doesn't works.What to do?

0

There are 0 best solutions below