Hello,
I wrote the following code:
QTextEdit *te = new QTextEdit();
te->setHtml("<ul><li>LINE 1</li><li>LINE 2</li><li>LINE 3</li></ul>);
and I get the following result at TextEdit:
- LINE 1
- LINE 2
- LINE 3
If I copy the letter "E" for example, and paste it to a simple editor, it pastes a line break and then the letter "E". If text is outside html list it is copied without line break.
Any ideas how to get rid of line break?
Bookmarks