Wysiwyg paragraphs

2 posts by 2 authors in: Forums > CMS Builder
Last Post: May 25   (RSS)

By MercerDesign - May 19

Hi, I have installed a new CMS but on the page the CMS is putting extra paragraphs in. On this page in the "The Company" area it should only have the one paragrah:


The code on the page is this: <section id="about" class="about d-flex flex-column justify-content-center align-items-center">
<div class="hero-container" data-aos="fade-in">
<h1><?php echo htmlencode($the_companyRecord['title']) ?></h1>
<h2><?php echo htmlencode($the_companyRecord['sub_title']) ?></h2>
<?php echo $the_companyRecord['content']; ?>

By Dave - May 25

Hi MercerDesign, 

Did you sort this out?  The wysiwyg generally outputs blocks in paragraph tags.  One thing to check is to make sure you don't have any leading or trailing spaces or enters in the content.

Dave Edis - Senior Developer