View Single Post
Old 12-22-2016, 10:16 AM   #14
KevinH
Sigil Developer
KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.
 
Posts: 8,809
Karma: 6000000
Join Date: Nov 2009
Device: many
Yes, I can recreate this even by just right clicking inside Section0001.xhtml and asking it to Reformat XHTML -> Mend.

It appears to happen when bare text is a child of a div and the preceding child of the div is any type of block level tag including p, h1-h6, another div, blockquote, etc.

So somehow that code that converts the gumbo node tree (dom) back to strings is inserting a return after a block element that is a child of a div (or before bare text).

I will see if I can fix this.

KevinH
KevinH is offline   Reply With Quote