Consider the following code:
showInfo("""
<h3>Headline</h3>
<p><a href='https://brave.com'>Click here!</a></p>
<p>Lorem ipsum dolor sit amet (§ 433), consectetur adipisici elit (Art. 13 GG), sed eiusmod tempor incidunt ut labore et dolore magna aliqua. Ut enim ad minim veniam.</p>
<p><i>You can find more information about this <a href='https://autohotkey.com' style='color: rgb(185, 33, 33); text-decoration: none;'>here</a>.</i></p>
""")
On Windows everything looks like it’s supposed to:
The result on macOS is much different (according to screenshots from users):
- Links are not highlighted in any way (neither with a default color nor with the color I specified under style). I am not sure they work at all. Edit: They do not.
- There is no margin between paragraphs.
- The headline is not interpreted correctly. It looks like plain text.
- No italics.
- All text is centered.
It basically looks like this (just centered): [Sorry, can’t provide a screenshot since I don’t have a Mac]
Headline
Click here!
Lorem ipsum dolor sit amet (§ 433), consectetur adipisici elit (Art. 13 GG), sed eiusmod tempor incidunt ut labore et dolore magna aliqua. Ut enim ad minim veniam.
You can find more information about this here.
What is the reason for this different interpretation? Is this a bug in Qt?