Details
-
Bug
-
Resolution: Unresolved
-
P3: Somewhat important
-
None
-
6.7.2
-
None
-
Windows 11 Home, 23H2, 22631.4169, Windows Feature Experience Pack 1000.22700.1034.0
Description
Create a QTextEdit object textEdit and run
ui->textEdit->setText("<span style=\"text-decoration: underline; text-decoration-color: red; white-space: pre;\"> </span><br>");
Expected result: all the four spaces should be underlined, and these spaces can be selected
Actual result: only the first space is underlined, and these spaces cannot be selected
(I am not an English native speaker so I wish my grammar mistakes won't disturb understanding)