{"action":"created","issue":{"url":"https://api.github.com/repos/muut/riotjs/issues/429","labels_url":"https://api.github.com/repos/muut/riotjs/issues/429/labels{/name}","comments_url":"https://api.github.com/repos/muut/riotjs/issues/429/comments","events_url":"https://api.github.com/repos/muut/riotjs/issues/429/events","html_url":"https://github.com/muut/riotjs/pull/429","id":58908652,"number":429,"title":"Fix: greedy attribute name substitution in 2.0.11","user":{"login":"cfenzo","id":59037,"avatar_url":"https://avatars.githubusercontent.com/u/59037?v=3","gravatar_id":"","url":"https://api.github.com/users/cfenzo","html_url":"https://github.com/cfenzo","followers_url":"https://api.github.com/users/cfenzo/followers","following_url":"https://api.github.com/users/cfenzo/following{/other_user}","gists_url":"https://api.github.com/users/cfenzo/gists{/gist_id}","starred_url":"https://api.github.com/users/cfenzo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cfenzo/subscriptions","organizations_url":"https://api.github.com/users/cfenzo/orgs","repos_url":"https://api.github.com/users/cfenzo/repos","events_url":"https://api.github.com/users/cfenzo/events{/privacy}","received_events_url":"https://api.github.com/users/cfenzo/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-02-25T14:25:43Z","updated_at":"2015-02-27T03:54:20Z","closed_at":"2015-02-27T03:54:17Z","pull_request":{"url":"https://api.github.com/repos/muut/riotjs/pulls/429","html_url":"https://github.com/muut/riotjs/pull/429","diff_url":"https://github.com/muut/riotjs/pull/429.diff","patch_url":"https://github.com/muut/riotjs/pull/429.patch"},"body":"Attribute name substitution (`riot-attr={expr}` -> `attr=\"value\"`) is broken in the 2.0.11 compiler for `style` and `src`.\r\n`riot-src={expr}` is compiled into `riot-riot-src={expr}` and rendered as `riot-src=\"value\"` on update, while any other `riot-attr={expr}` is left as is and rendered correctly as `attr=\"value\"` on update.\r\n\r\nThis PR makes `riot-src` and `riot-style` behave as any other `riot-attr`.\r\n\r\n\r\n<del>Also commented out a recently uncommented out test in test/specs/tmpl.js that was failing in dev before this commit.\r\nWhen the test is running, `location.href` is \"about:blank\", so `location.href.split(\".\").pop()` can never be \"html\".</del>\r\nMerged with riotjs/dev to solve conflicts after the tests where fixed in riotjs/dev."},"comment":{"url":"https://api.github.com/repos/muut/riotjs/issues/comments/76326680","html_url":"https://github.com/muut/riotjs/pull/429#issuecomment-76326680","issue_url":"https://api.github.com/repos/muut/riotjs/issues/429","id":76326680,"user":{"login":"tipiirai","id":169330,"avatar_url":"https://avatars.githubusercontent.com/u/169330?v=3","gravatar_id":"","url":"https://api.github.com/users/tipiirai","html_url":"https://github.com/tipiirai","followers_url":"https://api.github.com/users/tipiirai/followers","following_url":"https://api.github.com/users/tipiirai/following{/other_user}","gists_url":"https://api.github.com/users/tipiirai/gists{/gist_id}","starred_url":"https://api.github.com/users/tipiirai/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tipiirai/subscriptions","organizations_url":"https://api.github.com/users/tipiirai/orgs","repos_url":"https://api.github.com/users/tipiirai/repos","events_url":"https://api.github.com/users/tipiirai/events{/privacy}","received_events_url":"https://api.github.com/users/tipiirai/received_events","type":"User","site_admin":false},"created_at":"2015-02-27T03:54:19Z","updated_at":"2015-02-27T03:54:19Z","body":"Thank you!"}}