So I have an entry that is formatted as xhtml, and for some reason, EE is always wrapping a div inside a paragraph tag, and I thought it wasn’t supposed to do that.
For example, my entry looks like this:
Some text
<div class="some-class">somesource</div>
Some more textWhat’s rendered in the output is:
Some text
<div class="some-class">somesource</div>
Some more text
Now my first question is, am I doing something wrong? Is there a setting somewhere that I screwed up that tells the xhtml formatter to ignore proper formatting for divs?
Other than changing the formatting to none and coding the paragraphs myself, is there a way to fix this?