{"action":"opened","issue":{"url":"https://api.github.com/repos/jadejs/jade-lexer/issues/23","labels_url":"https://api.github.com/repos/jadejs/jade-lexer/issues/23/labels{/name}","comments_url":"https://api.github.com/repos/jadejs/jade-lexer/issues/23/comments","events_url":"https://api.github.com/repos/jadejs/jade-lexer/issues/23/events","html_url":"https://github.com/jadejs/jade-lexer/issues/23","id":109483744,"number":23,"title":"Should new lines after pipeless text be reported?","user":{"login":"benedfit","id":580859,"avatar_url":"https://avatars.githubusercontent.com/u/580859?v=3","gravatar_id":"","url":"https://api.github.com/users/benedfit","html_url":"https://github.com/benedfit","followers_url":"https://api.github.com/users/benedfit/followers","following_url":"https://api.github.com/users/benedfit/following{/other_user}","gists_url":"https://api.github.com/users/benedfit/gists{/gist_id}","starred_url":"https://api.github.com/users/benedfit/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/benedfit/subscriptions","organizations_url":"https://api.github.com/users/benedfit/orgs","repos_url":"https://api.github.com/users/benedfit/repos","events_url":"https://api.github.com/users/benedfit/events{/privacy}","received_events_url":"https://api.github.com/users/benedfit/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-10-02T12:44:04Z","updated_at":"2015-10-02T12:44:04Z","closed_at":null,"body":"e.g.\r\n\r\n```\r\n.\r\n  foo\r\n    bar\r\n      baz\r\n  .\r\n\r\n```\r\n\r\nyields\r\n\r\n```\r\n{\"type\":\"dot\",\"line\":1}\r\n{\"type\":\"start-pipeless-text\",\"line\":1}\r\n{\"type\":\"text\",\"line\":2,\"val\":\"foo\"}\r\n{\"type\":\"newline\",\"line\":3}\r\n{\"type\":\"text\",\"line\":3,\"val\":\"  bar\"}\r\n{\"type\":\"newline\",\"line\":4}\r\n{\"type\":\"text\",\"line\":4,\"val\":\"    baz\"}\r\n{\"type\":\"newline\",\"line\":5}\r\n{\"type\":\"text\",\"line\":5,\"val\":\".\"}\r\n{\"type\":\"end-pipeless-text\",\"line\":5}\r\n{\"type\":\"eos\",\"line\":5}\r\n```\r\n\r\nI would expect the `eos` token to be proceeded by a `newline` token, and the `eos` token to be reported as being on line 6, as per\r\n\r\n```\r\np test\r\n\r\n```\r\n\r\nyields\r\n\r\n```\r\n{\"type\":\"tag\",\"line\":1,\"col\":1,\"val\":\"p\",\"selfClosing\":false}\r\n{\"type\":\"text\",\"line\":1,\"col\":3,\"val\":\"test\"}\r\n{\"type\":\"newline\",\"line\":2,\"col\":1}\r\n{\"type\":\"eos\",\"line\":2,\"col\":1}\r\n```"}}