{"action":"created","issue":{"url":"https://api.github.com/repos/wooorm/mdast/issues/13","labels_url":"https://api.github.com/repos/wooorm/mdast/issues/13/labels{/name}","comments_url":"https://api.github.com/repos/wooorm/mdast/issues/13/comments","events_url":"https://api.github.com/repos/wooorm/mdast/issues/13/events","html_url":"https://github.com/wooorm/mdast/issues/13","id":57719171,"number":13,"title":"ouput wrong position when passing empty string","user":{"login":"azu","id":19714,"avatar_url":"https://avatars.githubusercontent.com/u/19714?v=3","gravatar_id":"","url":"https://api.github.com/users/azu","html_url":"https://github.com/azu","followers_url":"https://api.github.com/users/azu/followers","following_url":"https://api.github.com/users/azu/following{/other_user}","gists_url":"https://api.github.com/users/azu/gists{/gist_id}","starred_url":"https://api.github.com/users/azu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/azu/subscriptions","organizations_url":"https://api.github.com/users/azu/orgs","repos_url":"https://api.github.com/users/azu/repos","events_url":"https://api.github.com/users/azu/events{/privacy}","received_events_url":"https://api.github.com/users/azu/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-02-15T05:53:44Z","updated_at":"2015-02-15T14:52:46Z","closed_at":"2015-02-15T11:15:59Z","body":"```js\r\nvar mdast = require('mdast');\r\nvar emptyString = \"\";\r\nvar ast = mdast.parse(emptyString);\r\nconsole.log(JSON.stringify(ast));\r\n/*\r\n{\r\n    \"type\": \"root\",\r\n    \"children\": [],\r\n    \"position\": {\r\n        \"start\": {\r\n            \"line\": 1,\r\n            \"column\": 1\r\n        }\r\n    }\r\n}\r\n*/\r\n// position.end is undeifned\r\n```\r\n\r\nExample : http://requirebin.com/?gist=ad3c34ef897338867009\r\n\r\nExpected:\r\n\r\n```\r\n{\r\n    \"type\": \"root\",\r\n    \"children\": [],\r\n    \"position\": {\r\n        \"start\": {\r\n            \"line\": 1,\r\n            \"column\": 1\r\n        },\r\n        \"end\": {\r\n            \"line\": 1,\r\n            \"column\": 1\r\n        }\r\n    }\r\n}\r\n```\r\n\r\nActual: \r\n\r\n`position.end` is undeifned\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/wooorm/mdast/issues/comments/74420324","html_url":"https://github.com/wooorm/mdast/issues/13#issuecomment-74420324","issue_url":"https://api.github.com/repos/wooorm/mdast/issues/13","id":74420324,"user":{"login":"azu","id":19714,"avatar_url":"https://avatars.githubusercontent.com/u/19714?v=3","gravatar_id":"","url":"https://api.github.com/users/azu","html_url":"https://github.com/azu","followers_url":"https://api.github.com/users/azu/followers","following_url":"https://api.github.com/users/azu/following{/other_user}","gists_url":"https://api.github.com/users/azu/gists{/gist_id}","starred_url":"https://api.github.com/users/azu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/azu/subscriptions","organizations_url":"https://api.github.com/users/azu/orgs","repos_url":"https://api.github.com/users/azu/repos","events_url":"https://api.github.com/users/azu/events{/privacy}","received_events_url":"https://api.github.com/users/azu/received_events","type":"User","site_admin":false},"created_at":"2015-02-15T14:52:46Z","updated_at":"2015-02-15T14:52:46Z","body":"@wooorm work fine! Thanks! :+1: "}}