<div dir="ltr">Some text in QTextEdit now seem to lose style when copypasted in an app built with Qt-5.15.2<div>In the appli built with 5.11.1, there is not the issue.</div><div>I am copying from one read only QTextEdit to an other writable one.</div><div><br></div><div>When overloading QTextEdit to debug clipboard data in createMimeDataFromSelection(), the resulting html has some differences.</div><div>Some <p> markups became <pre>, resulting in text in fixed width style instead of the original text style.</div><div>Those changes are not from the original html printed in the QTextEdit</div><div><br></div><div>Original printed text contains <td>mycontent</td></div><div>In createMimeDataFromSelection() with 5.11.1, text contains <td><p some-qt-attributs=xxx>mycontent</p></td></div><div>In createMimeDataFromSelection() with 5.15.2, text contains <td><pre some-qt-attributs=xxx>mycontent</pre></td></div><div><br></div><div>The strange thing is that in the second writable QTextEdit, if i copy some text to clipboard, <p> are added, not <pre></div><div><br></div><div>Should i create a bug? Or any idea if an option of QTextEdit influences this?</div></div>