Closed Mayhem93 closed 12 years ago
The solution I gave is bad, a better one is to insert the whole content in a DOMDocument (after it has been wrapped in
tags) then select all text nodes and insert them inNo longer needed, we got Kendo HTML editor.
Put every paragraph in a
so that we can use stylesheets to make the first line indented.
A solution: str_explode for \n on the content and then prepend
then prepend