{"action":"created","issue":{"url":"https://api.github.com/repos/adrianlee44/atom-aligner/issues/23","labels_url":"https://api.github.com/repos/adrianlee44/atom-aligner/issues/23/labels{/name}","comments_url":"https://api.github.com/repos/adrianlee44/atom-aligner/issues/23/comments","events_url":"https://api.github.com/repos/adrianlee44/atom-aligner/issues/23/events","html_url":"https://github.com/adrianlee44/atom-aligner/issues/23","id":100010228,"number":23,"title":"'undefined' was appended on the comment line when align across comments","user":{"login":"seoker","id":7975797,"avatar_url":"https://avatars.githubusercontent.com/u/7975797?v=3","gravatar_id":"","url":"https://api.github.com/users/seoker","html_url":"https://github.com/seoker","followers_url":"https://api.github.com/users/seoker/followers","following_url":"https://api.github.com/users/seoker/following{/other_user}","gists_url":"https://api.github.com/users/seoker/gists{/gist_id}","starred_url":"https://api.github.com/users/seoker/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/seoker/subscriptions","organizations_url":"https://api.github.com/users/seoker/orgs","repos_url":"https://api.github.com/users/seoker/repos","events_url":"https://api.github.com/users/seoker/events{/privacy}","received_events_url":"https://api.github.com/users/seoker/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-08-10T08:44:55Z","updated_at":"2015-08-10T23:11:04Z","closed_at":null,"body":"Hi, I've tried the 'Allow across comments' option, two problems:\r\n(1) when the selection include a comment at the first line, the aligner doesn't work.\r\n(2) the aligner appends some 'undefined' at the end of comment line.\r\nex:\r\n```javascript\r\n        // URL parameter missing\r\n        UrlParameterMissing: 0x10000000,\r\n        UserIdMissing:       0x10000001,\r\n        CarIdMissing:     0x10000002,\r\n        // Body parameter missing\r\n        BodyParameterMissing: 0x11000000,\r\n        MobileMissing:        0x11000001,\r\n        PasswordMissing:   0x11000002,\r\n        OtpMissing:         0x11000003,\r\n        EmailMissing:     0x11000004,\r\n        BirthdayMissing:      0x11000005,\r\n        // Bad format\r\n        BadMobileFormat:      0x12000001,\r\n        BadOtpFormat:         0x12000002,\r\n        BadEmailFormat:       0x12000003,\r\n        BadBirthdayFormat:    0x12000004,\r\n```\r\nresult:\r\n```javascript\r\n        // URL parameter missing\r\n        UrlParameterMissing:  0x10000000,\r\n        UserIdMissing:        0x10000001,\r\n        CarIdMissing:         0x10000002,\r\n        // Body parameter missingundefined \r\n        BodyParameterMissing: 0x11000000,\r\n        MobileMissing:        0x11000001,\r\n        PasswordMissing:      0x11000002,\r\n        OtpMissing:           0x11000003,\r\n        EmailMissing:         0x11000004,\r\n        BirthdayMissing:      0x11000005,\r\n        // Bad formatundefined        \r\n        BadMobileFormat:      0x12000001,\r\n        BadOtpFormat:         0x12000002,\r\n        BadEmailFormat:       0x12000003,\r\n        BadBirthdayFormat:    0x12000004,\r\n```"},"comment":{"url":"https://api.github.com/repos/adrianlee44/atom-aligner/issues/comments/129643493","html_url":"https://github.com/adrianlee44/atom-aligner/issues/23#issuecomment-129643493","issue_url":"https://api.github.com/repos/adrianlee44/atom-aligner/issues/23","id":129643493,"user":{"login":"adrianlee44","id":208855,"avatar_url":"https://avatars.githubusercontent.com/u/208855?v=3","gravatar_id":"","url":"https://api.github.com/users/adrianlee44","html_url":"https://github.com/adrianlee44","followers_url":"https://api.github.com/users/adrianlee44/followers","following_url":"https://api.github.com/users/adrianlee44/following{/other_user}","gists_url":"https://api.github.com/users/adrianlee44/gists{/gist_id}","starred_url":"https://api.github.com/users/adrianlee44/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adrianlee44/subscriptions","organizations_url":"https://api.github.com/users/adrianlee44/orgs","repos_url":"https://api.github.com/users/adrianlee44/repos","events_url":"https://api.github.com/users/adrianlee44/events{/privacy}","received_events_url":"https://api.github.com/users/adrianlee44/received_events","type":"User","site_admin":false},"created_at":"2015-08-10T23:11:04Z","updated_at":"2015-08-10T23:11:04Z","body":"Thanks for reporting this. I'll look into this asap."}}