{"action":"created","issue":{"url":"https://api.github.com/repos/nette/latte/issues/71","labels_url":"https://api.github.com/repos/nette/latte/issues/71/labels{/name}","comments_url":"https://api.github.com/repos/nette/latte/issues/71/comments","events_url":"https://api.github.com/repos/nette/latte/issues/71/events","html_url":"https://github.com/nette/latte/issues/71","id":85500130,"number":71,"title":"n:macros not available in <script type=\"text/html\">","user":{"login":"xpavp03","id":853656,"avatar_url":"https://avatars.githubusercontent.com/u/853656?v=3","gravatar_id":"","url":"https://api.github.com/users/xpavp03","html_url":"https://github.com/xpavp03","followers_url":"https://api.github.com/users/xpavp03/followers","following_url":"https://api.github.com/users/xpavp03/following{/other_user}","gists_url":"https://api.github.com/users/xpavp03/gists{/gist_id}","starred_url":"https://api.github.com/users/xpavp03/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xpavp03/subscriptions","organizations_url":"https://api.github.com/users/xpavp03/orgs","repos_url":"https://api.github.com/users/xpavp03/repos","events_url":"https://api.github.com/users/xpavp03/events{/privacy}","received_events_url":"https://api.github.com/users/xpavp03/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-06-05T10:21:30Z","updated_at":"2015-06-05T10:23:42Z","closed_at":null,"body":"```latte\r\n<script type=\"text/html\">\r\n<a n:href=\"Page: param\">fails with n:macro</a>\r\n<a href=\"{plink Page: param}\">works with plink</a>\r\n</script>\r\n```\r\nwill be rendered as\r\n```html\r\n<script type=\"text/html\">\r\n<a n:href=\"Page: param\">fails with n:macro</a>\r\n<a href=\"/param\">works with plink</a>\r\n</script>\r\n```\r\nI didn't test all n:macros, only n:href and n:class."},"comment":{"url":"https://api.github.com/repos/nette/latte/issues/comments/109251958","html_url":"https://github.com/nette/latte/issues/71#issuecomment-109251958","issue_url":"https://api.github.com/repos/nette/latte/issues/71","id":109251958,"user":{"login":"xpavp03","id":853656,"avatar_url":"https://avatars.githubusercontent.com/u/853656?v=3","gravatar_id":"","url":"https://api.github.com/users/xpavp03","html_url":"https://github.com/xpavp03","followers_url":"https://api.github.com/users/xpavp03/followers","following_url":"https://api.github.com/users/xpavp03/following{/other_user}","gists_url":"https://api.github.com/users/xpavp03/gists{/gist_id}","starred_url":"https://api.github.com/users/xpavp03/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xpavp03/subscriptions","organizations_url":"https://api.github.com/users/xpavp03/orgs","repos_url":"https://api.github.com/users/xpavp03/repos","events_url":"https://api.github.com/users/xpavp03/events{/privacy}","received_events_url":"https://api.github.com/users/xpavp03/received_events","type":"User","site_admin":false},"created_at":"2015-06-05T10:23:42Z","updated_at":"2015-06-05T10:23:42Z","body":"It's possible to work around the issue by adding `{contentType html}` inside of `<script>`.\r\n\r\n```latte\r\n<script type=\"text/html\">\r\n{contentType html}\r\n```"}}