Details
-
Bug
-
Resolution: Out of scope
-
P2: Important
-
5.0.0
-
None
Description
- Run the attached .qml
- p, li
{ white-space: pre-wrap; }
is displayed in the Text box
Should be just showing the text formatted in bold. The TextEdit converts the <b>Oops</b> to the following, even if textFormat: TextEdit.PlainText is set.
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd"> <html><head><meta name="qrichtext" content="1" /><style type="text/css"> p, li { white-space: pre-wrap; } </style></head><body style=" font-family:'Helvetica'; font-size:12pt; font-weight:400; font-style:normal;"> <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-weight:600;">Oops</span></p></body></html>
Setting text: "" and entering <b>Oops</b> into the TextEdit afterwards works as expected.