Remco
Remco

Reputation: 683

Use of html in textarea not working correct

My cms is actievadmin and just installed tinymce for editing in the textarea. When i make changes (bold, paragraph tags ect) the page showing raw html. In the DB is stored with the html but is not rendering the html.

Does anyone know what this problem is?

Upvotes: 0

Views: 176

Answers (1)

John
John

Reputation: 3296

Try replacing the output on your page to something like this:

<%=raw @model.content %>

Upvotes: 1

Related Questions