- In EE's Rich Text editor, I typed in the following content.
- I did not do any fancy markup or formatting.
- All I did was set each heading to an H4, and typed paragraphs normally.
- I did not touch the code or alter any markup.
This is how EE is outputting my (fairly normal) text in my template:
<h4>The Project</h4>
<p></p>
<p></p>
<div>
<p></p>
<div>
<p>An iconic Lorem Ipsum led shopping centre at Location X. The 65,000 square foot multi-use facility includes a Lorem Ipsum Store built upon stilts to house customer parking underneath, together with 28 retail units, a food court, a petrol filling station and 18,000 square feet of office space.</p>
<div>
<p></p>
<div>
<p></p>
<div>
<p>The focus of the design was to make a bold architectural statement and included an ambitious six-storey high, frameless, glass frontage with an unusual curved roof. </p>
</div>
</div>
</div>
<h4>The Challenge</h4>
<div>
<p></p>
<div>
<p></p>
<div>
<p>Creating an innovative glass structure, 24 metres high with a 10 degree angled lean. Nothing quite like this had ever been attempted in Europe before. It was a first and whilst Company Name had to ensure they were highly attentive to the practical safety aspects of achieving the construction, they also had to think about the clients aesthetic objectives to creating a striking piece of architecture that would draw in shoppers. </p>
</div>
</div>
</div>
</div>
</div>
I am confused why so many blank <p>
tags are output, and why each subsequent paragraph is nested further and further into a series of nested <div>
s. Is this normal behaviour for EE? It breaks my styling slightly, as <div>
have small margins on them. If I were to code this manually, I would put something like <h4>The Project</h4> <p>The text[...]</p>
- without wrapping the <p>
in a <div>
.
Is there anything I can do about this? Thanks!