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

Permalink
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?

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

https://www.concrete5.org/community/forums/customizing_c5/8.4.2-rich...