WYSIWYG shows <p> code

6 posts by 2 authors in: Forums > CMS Builder
Last Post: September 4, 2014   (RSS)

Hi - Using 2.62 build and the WYSIWYG displays the code when rendered on the site. For example: wysiwyg html code shows <p>sentence of text here</p><p>sentence of text here</p><p>sentence of text here. When the php page is rendered, the WYSIWYG area shows the <p> tags instead of rendering paragraphs.

Thank you.

Wendy

<?php echo htmlencode($highlight_articlesRecord['content']) ?>

Hi Claire - Thanks. Your question made me realized that the code was probably wrong so I checked it and, sure enough, it was. I should have used: <?php echo $highlight_articlesRecord['content']; ?> and that works. Thanks so much.

By claire - September 4, 2014

Thought so - htmlencode prevents the tags from being read by the browser.

Let us know if you have any more issues with it. :)

--------------------

Claire Ryan
interactivetools.com

Save time by getting our experts to help with your project.
http://www.interactivetools.com/consulting/

Thanks - as always, the support at Interactive Tools is amazing!