title: PyQt5 incorrect label formatting with links
body: <p>I have two issues with how PyQt is formatting my QLabels</p>
  <p><strong>Issue 1:</strong>
  When hyperlinks are added it displays as if there were no newlines in the string.
  For the input text:</p>
  <pre><code>&lt;a href = &quot;https://www.google.co.uk/&quot;&gt;https://www.google.co.uk/&lt;/a&gt;    
  
  &lt;a href = &quot;https://www.google.co.uk/&quot;&gt;https://www.google.co.uk/&lt;/a&gt;    
  
  &lt;a href = &quot;https://www.google.co.uk/&quot;&gt;https://www.google.co.uk/&lt;/a&gt;
  </code></pre>
  <p>It's shown like this without newlines</p>
  <p><a href="https://i.stack.imgur.com/vTJlO.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/vTJlO.png" alt="enter image description here" /></a></p>
  <p><strong>Issue 2:</strong> Sometimes PyQt just doesn't even detect the 'a' tag this happens when the start of string is not a hyperlink but it is then followed by newlines with hyperlinks e.g. this input:</p>
  <pre><code>test
  
  &lt;a href = &quot;https://www.google.co.uk/&quot;&gt;https://www.google.co.uk/&lt;/a&gt;    
  
  &lt;a href = &quot;https://www.google.co.uk/&quot;&gt;https://www.google.co.uk/&lt;/a&gt;    
  
  &lt;a href = &quot;https://www.google.co.uk/&quot;&gt;https://www.google.co.uk/&lt;/a&gt;
  </code></pre>
  <p>As you can see the newlines are properly shown but PyQt has no longer detected the hyperlinks</p>
  <p><a href="https://i.stack.imgur.com/tChDs.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/tChDs.png" alt="enter image description here" /></a></p>