{"action":"opened","issue":{"url":"https://api.github.com/repos/riot/riot/issues/1191","labels_url":"https://api.github.com/repos/riot/riot/issues/1191/labels{/name}","comments_url":"https://api.github.com/repos/riot/riot/issues/1191/comments","events_url":"https://api.github.com/repos/riot/riot/issues/1191/events","html_url":"https://github.com/riot/riot/issues/1191","id":105092841,"number":1191,"title":"each usage in Jade template","user":{"login":"brauliobo","id":41740,"avatar_url":"https://avatars.githubusercontent.com/u/41740?v=3","gravatar_id":"","url":"https://api.github.com/users/brauliobo","html_url":"https://github.com/brauliobo","followers_url":"https://api.github.com/users/brauliobo/followers","following_url":"https://api.github.com/users/brauliobo/following{/other_user}","gists_url":"https://api.github.com/users/brauliobo/gists{/gist_id}","starred_url":"https://api.github.com/users/brauliobo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brauliobo/subscriptions","organizations_url":"https://api.github.com/users/brauliobo/orgs","repos_url":"https://api.github.com/users/brauliobo/repos","events_url":"https://api.github.com/users/brauliobo/events{/privacy}","received_events_url":"https://api.github.com/users/brauliobo/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-09-06T12:50:07Z","updated_at":"2015-09-06T12:50:07Z","closed_at":null,"body":"I'm not quite sure Jade can be used with Riot, for example:\r\n```jade\r\nmytag\r\n  p hello\r\n  div each={p in data}\r\n    {p} \r\n```\r\nThen compiled `riot --template jade source.tag`\r\n```js\r\nriot.tag('mytag', '<p>hello</p> <div> each=\"{p in data}\" {p} </div>', function(opts) {\r\n\r\n});                                                                                               \r\n```\r\nWhich made the each go outside the div :("}}