{"issue":{"state":"closed","pull_request":{"diff_url":null,"html_url":null,"patch_url":null},"user":{"avatar_url":"https://secure.gravatar.com/avatar/b19679fe9b0cbc3f245429347d4d13ca?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"b19679fe9b0cbc3f245429347d4d13ca","url":"https://api.github.com/users/dgurich","login":"dgurich","id":1162526},"milestone":null,"assignee":null,"updated_at":"2011-11-07T18:45:38Z","labels":[],"comments":1,"closed_at":"2011-11-07T18:45:38Z","url":"https://api.github.com/repos/BorisMoore/jsrender/issues/16","body":"It looks like the latest version causes an error in IE8 resulting in the following error: \"Unterminated string constant.\"  The error seems to occur in the function ``` buildTmplFunction``` at this line:\r\n\r\n```javascript\r\n   try {\r\n            ret = new Function(\"$data, $view\", code.slice(0, -1) + \";return result;\\n\\n}catch(e){return views.err(e);}\");\r\n        } catch (e) {\r\n            ret = function () {\r\n                return viewsNs.err(e);\r\n            };\r\n        }\r\n```\r\nThis error is visible in all the demos.\r\n\r\nThanks!","html_url":"https://github.com/BorisMoore/jsrender/issues/16","title":"Unterminated string constant in IE8","number":16,"id":2163055,"created_at":"2011-11-07T14:32:04Z"},"action":"closed"}