{"action":"closed","issue":{"url":"https://api.github.com/repos/janl/mustache.js/issues/549","repository_url":"https://api.github.com/repos/janl/mustache.js","labels_url":"https://api.github.com/repos/janl/mustache.js/issues/549/labels{/name}","comments_url":"https://api.github.com/repos/janl/mustache.js/issues/549/comments","events_url":"https://api.github.com/repos/janl/mustache.js/issues/549/events","html_url":"https://github.com/janl/mustache.js/issues/549","id":135442835,"number":549,"title":"nav-subitem.html bug","user":{"login":"overflowhidden","id":4992589,"avatar_url":"https://avatars.githubusercontent.com/u/4992589?v=3","gravatar_id":"","url":"https://api.github.com/users/overflowhidden","html_url":"https://github.com/overflowhidden","followers_url":"https://api.github.com/users/overflowhidden/followers","following_url":"https://api.github.com/users/overflowhidden/following{/other_user}","gists_url":"https://api.github.com/users/overflowhidden/gists{/gist_id}","starred_url":"https://api.github.com/users/overflowhidden/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/overflowhidden/subscriptions","organizations_url":"https://api.github.com/users/overflowhidden/orgs","repos_url":"https://api.github.com/users/overflowhidden/repos","events_url":"https://api.github.com/users/overflowhidden/events{/privacy}","received_events_url":"https://api.github.com/users/overflowhidden/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2016-02-22T14:56:15Z","updated_at":"2016-03-18T16:12:32Z","closed_at":"2016-03-18T16:12:32Z","body":"This code returns an error in case of using template calls nav-subitem.html\r\n\r\nthe code:\r\n\r\n$.get(\"templates/nav-subitem.html\", function(templateNew){\r\n\t$.each(data, function (indexNew, valueNew) {\r\n\tvar outputSub = Mustache.render(templateNew, {});\r\n\t$(\"#accordion ul\").append(outputSub);\r\n        });\r\n});\t\r\n\r\n\r\nThe bug: Uncaught Error: Unopened section \"if\" at 96\r\n\r\nIf you rename nav-subitem.html to any other name, all will be ok )"}}