{"action":"closed","issue":{"url":"https://api.github.com/repos/riot/riot/issues/605","labels_url":"https://api.github.com/repos/riot/riot/issues/605/labels{/name}","comments_url":"https://api.github.com/repos/riot/riot/issues/605/comments","events_url":"https://api.github.com/repos/riot/riot/issues/605/events","html_url":"https://github.com/riot/riot/issues/605","id":68899163,"number":605,"title":"Full editor syntax highlighting support","user":{"login":"AndreasHeintze","id":2219544,"avatar_url":"https://avatars.githubusercontent.com/u/2219544?v=3","gravatar_id":"","url":"https://api.github.com/users/AndreasHeintze","html_url":"https://github.com/AndreasHeintze","followers_url":"https://api.github.com/users/AndreasHeintze/followers","following_url":"https://api.github.com/users/AndreasHeintze/following{/other_user}","gists_url":"https://api.github.com/users/AndreasHeintze/gists{/gist_id}","starred_url":"https://api.github.com/users/AndreasHeintze/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AndreasHeintze/subscriptions","organizations_url":"https://api.github.com/users/AndreasHeintze/orgs","repos_url":"https://api.github.com/users/AndreasHeintze/repos","events_url":"https://api.github.com/users/AndreasHeintze/events{/privacy}","received_events_url":"https://api.github.com/users/AndreasHeintze/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/riot/riot/labels/low%20priority","name":"low priority","color":"f9f9f9"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-04-16T10:58:19Z","updated_at":"2015-08-05T19:30:04Z","closed_at":"2015-08-05T19:30:04Z","body":"This is a minor issue, but since there are support for an optional script-tags inside the tag definitions, I thought there should be support for it outside of the tag definitions too.\r\n\r\nThis works, but my editor syntax highlight doesn't get it.\r\n```\r\nrequire('../../common/ranking/ranking.tag.js');\r\nrequire('../../common/ranking/ranking.styl');\r\n\r\n<page>\r\n\r\n\t<h1 class=\"title\">{h1}</h1>\r\n\t<ranking></ranking>\r\n\t<a href=\"tennisstegen\">Gå till tennisstegen.</a>\r\n\r\n\t<script>\r\n        this.h1 = '..du har kommit till en annan sida';\r\n\t</script>\r\n\r\n</page>\r\n```\r\n\r\nThis does not work:\r\n```\r\n<script>\r\nrequire('../../common/ranking/ranking.tag.js');\r\nrequire('../../common/ranking/ranking.styl');\r\n</script>\r\n\r\n<page>\r\n\r\n\t<h1 class=\"title\">{h1}</h1>\r\n\t<ranking></ranking>\r\n\t<a href=\"tennisstegen\">Gå till tennisstegen.</a>\r\n\r\n\t<script>\r\n        this.h1 = '..du har kommit till en annan sida';\r\n\t</script>\r\n\r\n</page>\r\n```\r\n"}}