{"action":"created","issue":{"url":"https://api.github.com/repos/riot/compiler/issues/45","labels_url":"https://api.github.com/repos/riot/compiler/issues/45/labels{/name}","comments_url":"https://api.github.com/repos/riot/compiler/issues/45/comments","events_url":"https://api.github.com/repos/riot/compiler/issues/45/events","html_url":"https://github.com/riot/compiler/issues/45","id":126920922,"number":45,"title":"svg in tag breaks in 2.3.21","user":{"login":"justinmchase","id":10974,"avatar_url":"https://avatars.githubusercontent.com/u/10974?v=3","gravatar_id":"","url":"https://api.github.com/users/justinmchase","html_url":"https://github.com/justinmchase","followers_url":"https://api.github.com/users/justinmchase/followers","following_url":"https://api.github.com/users/justinmchase/following{/other_user}","gists_url":"https://api.github.com/users/justinmchase/gists{/gist_id}","starred_url":"https://api.github.com/users/justinmchase/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/justinmchase/subscriptions","organizations_url":"https://api.github.com/users/justinmchase/orgs","repos_url":"https://api.github.com/users/justinmchase/repos","events_url":"https://api.github.com/users/justinmchase/events{/privacy}","received_events_url":"https://api.github.com/users/justinmchase/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-01-15T17:42:03Z","updated_at":"2016-01-15T18:22:27Z","closed_at":null,"body":"We just did an npm installed and are experiencing a hang in our build process now.\r\n\r\nWe tracked the hang down to a change in versions from `riot-compiler@2.3.20` to `riot-compiler@2.3.21`.\r\n\r\nWe then went into the tag causing the hang and deleted some code until the problem went away. It turned out that our svg content is causing a problem with the `riot-compiler` to surface.\r\n\r\nHere is an example of the offending tag. \r\n```\r\n<icon-heart>\r\n  <svg viewBox=\"0 0 32 32\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\">\r\n    <path d=\"M16,28.261c0,0-14-7.926-14-17.046c0-9.356,13.159-10.399,14-0.454c1.011-9.938,14-8.903,14,0.454\r\n    C30,20.335,16,28.261,16,28.261z\"/>            \r\n  </svg>\r\n</icon-heart>\r\n```"},"comment":{"url":"https://api.github.com/repos/riot/compiler/issues/comments/172042475","html_url":"https://github.com/riot/compiler/issues/45#issuecomment-172042475","issue_url":"https://api.github.com/repos/riot/compiler/issues/45","id":172042475,"user":{"login":"aMarCruz","id":6636980,"avatar_url":"https://avatars.githubusercontent.com/u/6636980?v=3","gravatar_id":"","url":"https://api.github.com/users/aMarCruz","html_url":"https://github.com/aMarCruz","followers_url":"https://api.github.com/users/aMarCruz/followers","following_url":"https://api.github.com/users/aMarCruz/following{/other_user}","gists_url":"https://api.github.com/users/aMarCruz/gists{/gist_id}","starred_url":"https://api.github.com/users/aMarCruz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aMarCruz/subscriptions","organizations_url":"https://api.github.com/users/aMarCruz/orgs","repos_url":"https://api.github.com/users/aMarCruz/repos","events_url":"https://api.github.com/users/aMarCruz/events{/privacy}","received_events_url":"https://api.github.com/users/aMarCruz/received_events","type":"User","site_admin":false},"created_at":"2016-01-15T18:22:27Z","updated_at":"2016-01-15T18:22:27Z","body":"@justinmchase , the output that I get seems correct, can you check it please:\r\n```js\r\n//src: test/specs/fixtures/svg.tag\r\nriot.tag2('icon-heart',\r\n  '<svg viewbox=\"0 0 32 32\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\"><path d=\"M16,28.261c0,0-14-7.926-14-17.046c0-9.356,13.159-10.399,14-0.454c1.011-9.938,14-8.903,14,0.454 C30,20.335,16,28.261,16,28.261z\"></path> </svg>', '', '', function(opts) {\r\n});\r\n```"}}