Using block elements as Dynamic Content
When inserting dynamic content into the editor it gets surrounded with a p-element if you're inserting it into a new paragraph.
Let's say our dynamic content Teasers renders a div-element as a wrapper, the page won't validate beacause it's not valid to have a div in a p.
We can easily fix this before the PageData gets persisted.
Posted in EPiServer ● Tags dynamic content
