Details
-
Bug
-
Resolution: Unresolved
-
P3: Somewhat important
-
None
-
5.12.11, 5.15.5
-
Microsoft Visual Studio 2017 64-bit and Visual Studio 2019 64-bit
Description
This issue is affecting the Norwix professional services project. Norwix does not want links to be underlined in their application.
When using TextEdit in QML with textFormat set to Text.RichText, and the text is set to contain an HTML anchor with underline turned off
text: "<a style=\"text-decoration:none;\">A LINK</a>
TextEdit will change the text to something like
<a><span style="color:#0000ff;">A LINK</span></a>
and remove the text-decoration attribute completely.
Attached is an example project. When running the example, change some of the text in the top TextEdit and see the same text appear in the bottom TextEdit, but with the link underlined. The Application Output also prints out the values of TextEdit.text, showing BOTH text as modified.
Attachments
Issue Links
- relates to
-
QTBUG-45752 Qt Designer: Some HTML attributes lost when editing html of QTextBrowser
- Reported