NSAttributedString tail truncation in UILabel : <p>I'm using <a href="https://github.com/michaelloistl/ContextLabel" rel="noreferrer">ContextLabel</a> to parse @ , # and URL's. This is the best solution i found, cause it sizes correctly and dont affect performance. It firstly parses string at input and than converts it to <code>NSAttributedString</code> and after this assigns it to <code>attributedText</code> property of <code>UILabel</code>. Everything works as expected, except tail truncation - it's very incorrect ( see pic below ) </p>

<p><a href="https://i.stack.imgur.com/w6rT0.png" rel="noreferrer"><img src="https://i.stack.imgur.com/w6rT0.png" alt="enter image description here"></a></p>

<p>Where shall i start digging - is it wrong attributes on attributed string? Or label layout issue? Thanks!  </p>
