Details
-
Bug
-
Resolution: Invalid
-
Not Evaluated
-
None
-
5.6.1
-
None
-
Gentoo Linux amd64
Description
I've called toHtmlEscaped on a QString and set resulting QString as a tooltip.
When QString contains some HTML elements, \n seems to be stripped and replaced by whitespace, while when there are no HTML elements \n is preserved.
This messes up formatting.
Inconsistency should be fixed, and \n should be preserved regardless of whether there are HTML elements in the QString.
Attached project is an example of messed up formatting in tooltip when QString contains HTML.