{"action":"opened","issue":{"url":"https://api.github.com/repos/facebook/AsyncDisplayKit/issues/1295","repository_url":"https://api.github.com/repos/facebook/AsyncDisplayKit","labels_url":"https://api.github.com/repos/facebook/AsyncDisplayKit/issues/1295/labels{/name}","comments_url":"https://api.github.com/repos/facebook/AsyncDisplayKit/issues/1295/comments","events_url":"https://api.github.com/repos/facebook/AsyncDisplayKit/issues/1295/events","html_url":"https://github.com/facebook/AsyncDisplayKit/issues/1295","id":137457308,"number":1295,"title":"[ASTextNode] Ellipsis not shown when there's line break before truncation.","user":{"login":"yxztj","id":3334458,"avatar_url":"https://avatars.githubusercontent.com/u/3334458?v=3","gravatar_id":"","url":"https://api.github.com/users/yxztj","html_url":"https://github.com/yxztj","followers_url":"https://api.github.com/users/yxztj/followers","following_url":"https://api.github.com/users/yxztj/following{/other_user}","gists_url":"https://api.github.com/users/yxztj/gists{/gist_id}","starred_url":"https://api.github.com/users/yxztj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yxztj/subscriptions","organizations_url":"https://api.github.com/users/yxztj/orgs","repos_url":"https://api.github.com/users/yxztj/repos","events_url":"https://api.github.com/users/yxztj/events{/privacy}","received_events_url":"https://api.github.com/users/yxztj/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-03-01T03:31:28Z","updated_at":"2016-03-01T03:31:28Z","closed_at":null,"body":"Repro steps:\r\n\r\n1. Set attributed text: \"1\\n2\\n3\\n4\\n5\"\r\n2. Set maximumNumberOfLines to be 3\r\n3. UILabel displays the expected text, the ellipsis should be displayed at last. ASTextNode doesn't.\r\n\r\nI noticed #923 could be a related issue, so I checked ASDK 1.9.3, which has the expected ellipsis shown. But after that, the issue appeared till now(also tested 1.9.7)\r\n\r\nSample: https://github.com/yxztj/ASTextNodeTruncationIssue\r\nThe left uses UILabel, the right uses ASTextNode\r\n<img width=\"733\" alt=\"screen shot 2016-03-01 at 11 25 14 am\" src=\"https://cloud.githubusercontent.com/assets/3334458/13416813/58a551a8-dfa0-11e5-8991-f182f696d083.png\">"}}