Jump to content

Outputting plain text?


msavard
 Share

Recommended Posts

I feel stupid asking this but when I am trying to output a 'rich text' field (like the body field or any other field with HTML) it is outputting the raw HTML, it isn't rendering it. So if I have a CKEdit field and just type in "This is a test", when it is output it will display "</p>This is a test</p>". Has anyone ever heard of this happening? It hasn't happened on any other sites I've built.

Link to comment
Share on other sites

Are you sure that it outputs plain text?

Maybe it is html entity encoded by a defined Text Formatter in your field. You can check this under Fields > NameOfYourField > Details the first point is "Text Formatter". If there is something selected like HTML entity encoder, htmlspecialchars, then remove it and try again, (after a browser cache flush).

  • Like 4
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...