{"action":"created","issue":{"url":"https://api.github.com/repos/6to5/6to5/issues/747","labels_url":"https://api.github.com/repos/6to5/6to5/issues/747/labels{/name}","comments_url":"https://api.github.com/repos/6to5/6to5/issues/747/comments","events_url":"https://api.github.com/repos/6to5/6to5/issues/747/events","html_url":"https://github.com/6to5/6to5/issues/747","id":57249554,"number":747,"title":"Multiline jsx string attributes throw a parser error","user":{"login":"thetalecrafter","id":270632,"avatar_url":"https://avatars.githubusercontent.com/u/270632?v=3","gravatar_id":"","url":"https://api.github.com/users/thetalecrafter","html_url":"https://github.com/thetalecrafter","followers_url":"https://api.github.com/users/thetalecrafter/followers","following_url":"https://api.github.com/users/thetalecrafter/following{/other_user}","gists_url":"https://api.github.com/users/thetalecrafter/gists{/gist_id}","starred_url":"https://api.github.com/users/thetalecrafter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thetalecrafter/subscriptions","organizations_url":"https://api.github.com/users/thetalecrafter/orgs","repos_url":"https://api.github.com/users/thetalecrafter/repos","events_url":"https://api.github.com/users/thetalecrafter/events{/privacy}","received_events_url":"https://api.github.com/users/thetalecrafter/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-02-10T22:43:17Z","updated_at":"2015-02-10T23:05:09Z","closed_at":null,"body":"jsx of this form:\r\n```js\r\n<path d=\"M94.4,42.1L74.1,61.8l4.8,27.9c0.1,0.4,0.1,0.7,0.1,1.1c0,1.5-0.7,2.8-2.3,2.8c-0.8,0-1.6-0.3-2.2-0.7\r\n      L49.4,79.8L24.4,93c-0.7,0.4-1.5,0.7-2.2,0.7c-1.6,0-2.3-1.3-2.3-2.8c0-0.4,0.1-0.7,0.1-1.1l4.8-27.9L4.4,42.1\r\n      C3.7,41.3,3,40.4,3,39.4c0-1.7,1.7-2.3,3.1-2.6l28-4.1L46.7,7.4c0.5-1.1,1.5-2.3,2.7-2.3s2.2,1.2,2.7,2.3l12.6,25.4l28,4.1\r\n      c1.3,0.2,3.1,0.9,3.1,2.6C95.9,40.4,95.1,41.3,94.4,42.1z\" />\r\n```\r\n\r\nThrows a `SyntaxError` `Unterminated string constant (1:8)`\r\n\r\nThis pattern of multiline string attributes is common in svg. It would be nice to use this syntax.\r\n\r\nFor now, you can workaround the issue by using a template string instead:\r\n```js\r\n<path d={`M94.4,42.1L74.1,61.8l4.8,27.9c0.1,0.4,0.1,0.7,0.1,1.1c0,1.5-0.7,2.8-2.3,2.8c-0.8,0-1.6-0.3-2.2-0.7\r\n      L49.4,79.8L24.4,93c-0.7,0.4-1.5,0.7-2.2,0.7c-1.6,0-2.3-1.3-2.3-2.8c0-0.4,0.1-0.7,0.1-1.1l4.8-27.9L4.4,42.1\r\n      C3.7,41.3,3,40.4,3,39.4c0-1.7,1.7-2.3,3.1-2.6l28-4.1L46.7,7.4c0.5-1.1,1.5-2.3,2.7-2.3s2.2,1.2,2.7,2.3l12.6,25.4l28,4.1\r\n      c1.3,0.2,3.1,0.9,3.1,2.6C95.9,40.4,95.1,41.3,94.4,42.1z`} />\r\n```\r\n"},"comment":{"url":"https://api.github.com/repos/6to5/6to5/issues/comments/73803686","html_url":"https://github.com/6to5/6to5/issues/747#issuecomment-73803686","issue_url":"https://api.github.com/repos/6to5/6to5/issues/747","id":73803686,"user":{"login":"sebmck","id":853712,"avatar_url":"https://avatars.githubusercontent.com/u/853712?v=3","gravatar_id":"","url":"https://api.github.com/users/sebmck","html_url":"https://github.com/sebmck","followers_url":"https://api.github.com/users/sebmck/followers","following_url":"https://api.github.com/users/sebmck/following{/other_user}","gists_url":"https://api.github.com/users/sebmck/gists{/gist_id}","starred_url":"https://api.github.com/users/sebmck/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sebmck/subscriptions","organizations_url":"https://api.github.com/users/sebmck/orgs","repos_url":"https://api.github.com/users/sebmck/repos","events_url":"https://api.github.com/users/sebmck/events{/privacy}","received_events_url":"https://api.github.com/users/sebmck/received_events","type":"User","site_admin":false},"created_at":"2015-02-10T23:05:09Z","updated_at":"2015-02-10T23:05:09Z","body":"Ah, can you report this upstream to [acorn-jsx](https://github.com/RReverser/acorn-jsx) please? Should be an easy fix. Thanks!"}}