{"action":"closed","issue":{"url":"https://api.github.com/repos/kangax/html-minifier/issues/377","labels_url":"https://api.github.com/repos/kangax/html-minifier/issues/377/labels{/name}","comments_url":"https://api.github.com/repos/kangax/html-minifier/issues/377/comments","events_url":"https://api.github.com/repos/kangax/html-minifier/issues/377/events","html_url":"https://github.com/kangax/html-minifier/issues/377","id":88528005,"number":377,"title":"minifier crashes on attribute names that end with $","user":{"login":"jcgregorio","id":1726460,"avatar_url":"https://avatars.githubusercontent.com/u/1726460?v=3","gravatar_id":"","url":"https://api.github.com/users/jcgregorio","html_url":"https://github.com/jcgregorio","followers_url":"https://api.github.com/users/jcgregorio/followers","following_url":"https://api.github.com/users/jcgregorio/following{/other_user}","gists_url":"https://api.github.com/users/jcgregorio/gists{/gist_id}","starred_url":"https://api.github.com/users/jcgregorio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jcgregorio/subscriptions","organizations_url":"https://api.github.com/users/jcgregorio/orgs","repos_url":"https://api.github.com/users/jcgregorio/repos","events_url":"https://api.github.com/users/jcgregorio/events{/privacy}","received_events_url":"https://api.github.com/users/jcgregorio/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/kangax/html-minifier/labels/needs-confirmation","name":"needs-confirmation","color":"d4c5f9"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-06-15T20:14:07Z","updated_at":"2015-10-25T15:29:10Z","closed_at":"2015-10-25T15:29:10Z","body":"The following document can't be minified, it crashes with \"Error: Minification error\":\r\n\r\n&lt;html>\r\n  &lt;body class$=\"foo\">\r\n  &lt;/body>\r\n&lt;/html>\r\n\r\n$ html-minifier out.html \r\nError: Minification error\r\n\r\n\r\nThis stops html-minifier from being used on Polymer 1.0:\r\n\r\n   https://www.polymer-project.org/1.0/docs/devguide/data-binding.html#attribute-binding\r\n\r\n$ is a valid character in an attribute name:\r\n\r\n  https://html.spec.whatwg.org/multipage/syntax.html#attributes-2\r\n\r\n"}}