{"action":"created","issue":{"url":"https://api.github.com/repos/rwjblue/ember-template-lint/issues/120","repository_url":"https://api.github.com/repos/rwjblue/ember-template-lint","labels_url":"https://api.github.com/repos/rwjblue/ember-template-lint/issues/120/labels{/name}","comments_url":"https://api.github.com/repos/rwjblue/ember-template-lint/issues/120/comments","events_url":"https://api.github.com/repos/rwjblue/ember-template-lint/issues/120/events","html_url":"https://github.com/rwjblue/ember-template-lint/issues/120","id":184314745,"number":120,"title":"Incorrect indentation on line starting with &nbsp;","user":{"login":"reidab","id":13192,"avatar_url":"https://avatars.githubusercontent.com/u/13192?v=3","gravatar_id":"","url":"https://api.github.com/users/reidab","html_url":"https://github.com/reidab","followers_url":"https://api.github.com/users/reidab/followers","following_url":"https://api.github.com/users/reidab/following{/other_user}","gists_url":"https://api.github.com/users/reidab/gists{/gist_id}","starred_url":"https://api.github.com/users/reidab/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/reidab/subscriptions","organizations_url":"https://api.github.com/users/reidab/orgs","repos_url":"https://api.github.com/users/reidab/repos","events_url":"https://api.github.com/users/reidab/events{/privacy}","received_events_url":"https://api.github.com/users/reidab/received_events","type":"User","site_admin":false},"labels":[{"id":365875779,"url":"https://api.github.com/repos/rwjblue/ember-template-lint/labels/bug","name":"bug","color":"ee0701","default":true}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-10-20T19:08:39Z","updated_at":"2016-11-07T20:21:45Z","closed_at":null,"body":"Linting a template with a segment like the following incorrectly flags the indentation:\n\n``` handlebars\n{{#if foo}}\n  &nbsp;bar\n{{/if}}\n```\n\nwith\n\n```\nblock-indentation: Incorrect indentation for `   bar\n` beginning at L2:C0. Expected `   bar\n` to be at an indentation of 2 but was found at 3. (thedyrt-ui/templates/components/at-trip):\n`{{#if foo}}\n  &nbsp;bar\n{{/if}}`\n```\n"},"comment":{"url":"https://api.github.com/repos/rwjblue/ember-template-lint/issues/comments/258951138","html_url":"https://github.com/rwjblue/ember-template-lint/issues/120#issuecomment-258951138","issue_url":"https://api.github.com/repos/rwjblue/ember-template-lint/issues/120","id":258951138,"user":{"login":"reidab","id":13192,"avatar_url":"https://avatars.githubusercontent.com/u/13192?v=3","gravatar_id":"","url":"https://api.github.com/users/reidab","html_url":"https://github.com/reidab","followers_url":"https://api.github.com/users/reidab/followers","following_url":"https://api.github.com/users/reidab/following{/other_user}","gists_url":"https://api.github.com/users/reidab/gists{/gist_id}","starred_url":"https://api.github.com/users/reidab/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/reidab/subscriptions","organizations_url":"https://api.github.com/users/reidab/orgs","repos_url":"https://api.github.com/users/reidab/repos","events_url":"https://api.github.com/users/reidab/events{/privacy}","received_events_url":"https://api.github.com/users/reidab/received_events","type":"User","site_admin":false},"created_at":"2016-11-07T20:21:45Z","updated_at":"2016-11-07T20:21:45Z","body":"It's looking like ember-template-lint is treating the `&nbsp;` string as a space for the purpose of calculating source code indentation, instead of treating the `&` as the first character of that line's source.\r\n\r\nI'd expect both of the following to pass linting, but currently only the second one does:\r\n\r\n``` handlebars\r\n{{#if foo}}\r\n  &nbsp;bar\r\n{{/if}}\r\n```\r\n``` handlebars\r\n{{#if foo}}\r\n  &rarr;bar\r\n{{/if}}\r\n```"}}
{"actor":{"display_login":"reidab"}}