Smoo Posted October 29, 2017 Share Posted October 29, 2017 Hi - newbie question here. I have a field called footer_center_section, whch is a text area. it's set to use CKEditor as input. When I'm outputting this field, I'm seeing the markup as well as the content, rather than just the content. In my template I've got <?php echo $footer_center_section;?> Output is shown in the attached screen shot. Is there some property of a text area field that I should be using, rather than the object itself? Any guidance appreciated. Link to comment Share on other sites More sharing options...
Robin S Posted October 29, 2017 Share Posted October 29, 2017 Welcome to the forums @Smoo. 2 hours ago, Smoo said: When I'm outputting this field, I'm seeing the markup as well as the content, rather than just the content. The markup is the content, but if you are seeing tags rendered like that then it could be caused by encoded entities. Check to make sure you do not have "HTML Entity Encoder" selected under "Text Formatters" in the field settings. 3 Link to comment Share on other sites More sharing options...
Smoo Posted October 29, 2017 Author Share Posted October 29, 2017 Yep, that was it - thanks. 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