{"action":"created","issue":{"url":"https://api.github.com/repos/hteumeuleu/email-bugs/issues/2","labels_url":"https://api.github.com/repos/hteumeuleu/email-bugs/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/hteumeuleu/email-bugs/issues/2/comments","events_url":"https://api.github.com/repos/hteumeuleu/email-bugs/issues/2/events","html_url":"https://github.com/hteumeuleu/email-bugs/issues/2","id":99277868,"number":2,"title":"AOL and background-image in a <style> tag","user":{"login":"hteumeuleu","id":3451753,"avatar_url":"https://avatars.githubusercontent.com/u/3451753?v=3","gravatar_id":"","url":"https://api.github.com/users/hteumeuleu","html_url":"https://github.com/hteumeuleu","followers_url":"https://api.github.com/users/hteumeuleu/followers","following_url":"https://api.github.com/users/hteumeuleu/following{/other_user}","gists_url":"https://api.github.com/users/hteumeuleu/gists{/gist_id}","starred_url":"https://api.github.com/users/hteumeuleu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hteumeuleu/subscriptions","organizations_url":"https://api.github.com/users/hteumeuleu/orgs","repos_url":"https://api.github.com/users/hteumeuleu/repos","events_url":"https://api.github.com/users/hteumeuleu/events{/privacy}","received_events_url":"https://api.github.com/users/hteumeuleu/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/hteumeuleu/email-bugs/labels/bug","name":"bug","color":"fc2929"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-08-05T19:18:15Z","updated_at":"2015-08-18T08:29:55Z","closed_at":null,"body":"AOL incorrectly replaces the path of a `background-image` when used in a `<style>` tag. It wraps the URL of the image with an `<a>` tag linking to the image itself. The following example…\r\n\r\n```css\r\n<style type=\"text/css\">\r\n\t.test {\r\n\t\tbackground-image:url(\"http://i.imgur.com/A4kblQ3.jpg\");\r\n\t}\r\n</style>\r\n```\r\n\r\n… becomes :\r\n\r\n```css\r\n<style type=\"text/css\">\r\n\t.test {\r\n\t\tbackground-image:url(&quot;<a href=\"http://i.imgur.com/A4kblQ3.jpg&quot\" target=_blank>http://i.imgur.com/A4kblQ3.jpg&quot</a>;);\r\n\t}\r\n</style>\r\n```\r\n\r\nThe same thing happens if you use single quotes or no quotes at all. It happens with the `background-image` property and the `background` shorthand. It happens no matter if the `<style>` tag is in the `<body>` or the `<head>`.\r\n\r\nIt doesn't happen when using `background` or `background-image` inline in a `style` attribute.\r\n"},"comment":{"url":"https://api.github.com/repos/hteumeuleu/email-bugs/issues/comments/132119356","html_url":"https://github.com/hteumeuleu/email-bugs/issues/2#issuecomment-132119356","issue_url":"https://api.github.com/repos/hteumeuleu/email-bugs/issues/2","id":132119356,"user":{"login":"hteumeuleu","id":3451753,"avatar_url":"https://avatars.githubusercontent.com/u/3451753?v=3","gravatar_id":"","url":"https://api.github.com/users/hteumeuleu","html_url":"https://github.com/hteumeuleu","followers_url":"https://api.github.com/users/hteumeuleu/followers","following_url":"https://api.github.com/users/hteumeuleu/following{/other_user}","gists_url":"https://api.github.com/users/hteumeuleu/gists{/gist_id}","starred_url":"https://api.github.com/users/hteumeuleu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hteumeuleu/subscriptions","organizations_url":"https://api.github.com/users/hteumeuleu/orgs","repos_url":"https://api.github.com/users/hteumeuleu/repos","events_url":"https://api.github.com/users/hteumeuleu/events{/privacy}","received_events_url":"https://api.github.com/users/hteumeuleu/received_events","type":"User","site_admin":false},"created_at":"2015-08-18T08:29:55Z","updated_at":"2015-08-18T08:29:55Z","body":"This bug was reported on Twitter to [@aolmailhelp](https://twitter.com/hteumeuleu/status/633369723275640832) and [@aolmail](https://twitter.com/advenix/status/633400047019757568)."}}