8.4.2: Wrongly formatted rich text saved in editor breaks page layout

I save rich text with the Ckeditor in a DB
echo $editor->outputStandardEditor('content', $description->getContent());

then I output it on a page
echo $description->getContent();

but if the text has broken DIVs, the whole page layout gets broken. Is there a way to output the same rich text as was saved without breaking the page layout even if the text has a broken one?

View Replies:
linuxoid replied on at Permalink Reply
I've completely forgotten about the LinkAbstractor