msavard Posted July 23, 2020 Share Posted July 23, 2020 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 More sharing options...
horst Posted July 23, 2020 Share Posted July 23, 2020 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). 4 Link to comment Share on other sites More sharing options...
msavard Posted July 23, 2020 Author Share Posted July 23, 2020 Good grief! I knew I shouldn't have been working on this at night! How did I miss that? Thanks for your help. 1 Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now