{"action":"created","issue":{"url":"https://api.github.com/repos/ericchiang/pup/issues/51","labels_url":"https://api.github.com/repos/ericchiang/pup/issues/51/labels{/name}","comments_url":"https://api.github.com/repos/ericchiang/pup/issues/51/comments","events_url":"https://api.github.com/repos/ericchiang/pup/issues/51/events","html_url":"https://github.com/ericchiang/pup/issues/51","id":103320517,"number":51,"title":"Using pup to modify html","user":{"login":"bramp","id":160627,"avatar_url":"https://avatars.githubusercontent.com/u/160627?v=3","gravatar_id":"","url":"https://api.github.com/users/bramp","html_url":"https://github.com/bramp","followers_url":"https://api.github.com/users/bramp/followers","following_url":"https://api.github.com/users/bramp/following{/other_user}","gists_url":"https://api.github.com/users/bramp/gists{/gist_id}","starred_url":"https://api.github.com/users/bramp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bramp/subscriptions","organizations_url":"https://api.github.com/users/bramp/orgs","repos_url":"https://api.github.com/users/bramp/repos","events_url":"https://api.github.com/users/bramp/events{/privacy}","received_events_url":"https://api.github.com/users/bramp/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-08-26T17:01:01Z","updated_at":"2015-12-20T17:29:46Z","closed_at":null,"body":"I have a use case where I want to add a ```class=\"table\"``` to all table tags, that don't already have that class specified. Currently I use a hacky sed to do it, but I was wondering if pup could be a more robust way of doing that."},"comment":{"url":"https://api.github.com/repos/ericchiang/pup/issues/comments/166138041","html_url":"https://github.com/ericchiang/pup/issues/51#issuecomment-166138041","issue_url":"https://api.github.com/repos/ericchiang/pup/issues/51","id":166138041,"user":{"login":"ericchiang","id":2342749,"avatar_url":"https://avatars.githubusercontent.com/u/2342749?v=3","gravatar_id":"","url":"https://api.github.com/users/ericchiang","html_url":"https://github.com/ericchiang","followers_url":"https://api.github.com/users/ericchiang/followers","following_url":"https://api.github.com/users/ericchiang/following{/other_user}","gists_url":"https://api.github.com/users/ericchiang/gists{/gist_id}","starred_url":"https://api.github.com/users/ericchiang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ericchiang/subscriptions","organizations_url":"https://api.github.com/users/ericchiang/orgs","repos_url":"https://api.github.com/users/ericchiang/repos","events_url":"https://api.github.com/users/ericchiang/events{/privacy}","received_events_url":"https://api.github.com/users/ericchiang/received_events","type":"User","site_admin":false},"created_at":"2015-12-20T17:29:46Z","updated_at":"2015-12-20T17:29:46Z","body":"@np these seem like inverse selectors rather than transformations. I actually like the idea of having a `--template` flag of some sort, but I think these are new issues."}}