View Single Post
Old 01-25-2015, 05:48 PM   #9
Terisa de morgan
Grand Sorcerer
Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.
 
Terisa de morgan's Avatar
 
Posts: 6,637
Karma: 12595249
Join Date: Jun 2009
Location: Madrid, Spain
Device: Kobo Clara/Aura One/Forma,XiaoMI 5, iPad, Huawei MediaPad, YotaPhone 2
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.
Terisa de morgan is offline   Reply With Quote