Quote Originally Posted by radmir View Post
But this is not the same html, I began to work. It's content has been drastically changed - some content just disappeared, how it maybe?
What kind of content did disappear?

My guess is that the text edit parses the HTML and creates is internal QTextDocument from it. When you call toHtml() it generates new HTML based on that document.

So a roundtrip might not yield the exact document, but it should have the same or very similar rendering.

Cheers,
_