{"action":"created","issue":{"url":"https://api.github.com/repos/namniak/canvas-text-wrapper/issues/16","repository_url":"https://api.github.com/repos/namniak/canvas-text-wrapper","labels_url":"https://api.github.com/repos/namniak/canvas-text-wrapper/issues/16/labels{/name}","comments_url":"https://api.github.com/repos/namniak/canvas-text-wrapper/issues/16/comments","events_url":"https://api.github.com/repos/namniak/canvas-text-wrapper/issues/16/events","html_url":"https://github.com/namniak/canvas-text-wrapper/issues/16","id":136818609,"number":16,"title":"Wrong behavior of the \"allowNewLine\" option with two or more consecutive line breaks (\\n\\n)","user":{"login":"yennare","id":2796314,"avatar_url":"https://avatars.githubusercontent.com/u/2796314?v=3","gravatar_id":"","url":"https://api.github.com/users/yennare","html_url":"https://github.com/yennare","followers_url":"https://api.github.com/users/yennare/followers","following_url":"https://api.github.com/users/yennare/following{/other_user}","gists_url":"https://api.github.com/users/yennare/gists{/gist_id}","starred_url":"https://api.github.com/users/yennare/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yennare/subscriptions","organizations_url":"https://api.github.com/users/yennare/orgs","repos_url":"https://api.github.com/users/yennare/repos","events_url":"https://api.github.com/users/yennare/events{/privacy}","received_events_url":"https://api.github.com/users/yennare/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-02-26T21:25:52Z","updated_at":"2016-02-27T21:43:42Z","closed_at":null,"body":"hi,\r\nthere's a problem when you try to put two or more than one line break, one after another, into a text.\r\n\r\na text like this:\r\n`Vestibulum ante \\n\\n ipsum primis in faucibus orci luctus et \\n\\n ultrices posuere cubilia Curae;`\r\n\r\nwill result in something like this:\r\n\r\n> Vestibulum ante \r\n> ipsum\r\n> primis in faucibus orci luctus et \r\n> ultrices \r\n> posuere cubilia Curae;\r\n\r\nwhile it should be like this:\r\n\r\n> Vestibulum ante \r\n>\r\n> ipsum primis in faucibus orci luctus et \r\n>\r\n> ultrices posuere cubilia Curae;  \r\n\r\nnotice how, in the first example, we have a line break before and after the first word coming after the double \\n.  \r\n\r\nJust thought it would be nice to have the possibility to use more consecutive line breaks.\r\n\r\nHope this might help to fix the problem."},"comment":{"url":"https://api.github.com/repos/namniak/canvas-text-wrapper/issues/comments/189734469","html_url":"https://github.com/namniak/canvas-text-wrapper/issues/16#issuecomment-189734469","issue_url":"https://api.github.com/repos/namniak/canvas-text-wrapper/issues/16","id":189734469,"user":{"login":"namniak","id":4369064,"avatar_url":"https://avatars.githubusercontent.com/u/4369064?v=3","gravatar_id":"","url":"https://api.github.com/users/namniak","html_url":"https://github.com/namniak","followers_url":"https://api.github.com/users/namniak/followers","following_url":"https://api.github.com/users/namniak/following{/other_user}","gists_url":"https://api.github.com/users/namniak/gists{/gist_id}","starred_url":"https://api.github.com/users/namniak/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/namniak/subscriptions","organizations_url":"https://api.github.com/users/namniak/orgs","repos_url":"https://api.github.com/users/namniak/repos","events_url":"https://api.github.com/users/namniak/events{/privacy}","received_events_url":"https://api.github.com/users/namniak/received_events","type":"User","site_admin":false},"created_at":"2016-02-27T21:43:42Z","updated_at":"2016-02-27T21:43:42Z","body":"Hi. Thanks for your comment.\r\n\r\nThe original idea was to use this mostly for titles and not paragraphs etc. as it doesn't have much of formatting options anyway. If you want to have bigger gaps between lines then just use '\\n' to break them where needed and set ```lineHeight```.  But obviously this won't help if you want to have different gaps between the lines. \r\n\r\nIt'd be a nice feature for sure but probably won't happen soon as it'll require some serious refactor."}}