lazorbeam, I use something similar. The div tag appears only if there's more than a paragraph (or so I've guessed). The format cleaning leaves some traces behind, mainly font spans. If you edit the html view, and the tags are not properly matched, the editor closes them.
I modify the paragraph style, not div style, and I've got different regex for comments with a paragraph or more than one (I use different paragraph formats). In the end, it's a hit and miss process.
|