{"action":"closed","issue":{"url":"https://api.github.com/repos/yahoo/xss-filters/issues/18","labels_url":"https://api.github.com/repos/yahoo/xss-filters/issues/18/labels{/name}","comments_url":"https://api.github.com/repos/yahoo/xss-filters/issues/18/comments","events_url":"https://api.github.com/repos/yahoo/xss-filters/issues/18/events","html_url":"https://github.com/yahoo/xss-filters/issues/18","id":70905728,"number":18,"title":"Question: a basic API for most common use-case?","user":{"login":"bitinn","id":1484279,"avatar_url":"https://avatars.githubusercontent.com/u/1484279?v=3","gravatar_id":"","url":"https://api.github.com/users/bitinn","html_url":"https://github.com/bitinn","followers_url":"https://api.github.com/users/bitinn/followers","following_url":"https://api.github.com/users/bitinn/following{/other_user}","gists_url":"https://api.github.com/users/bitinn/gists{/gist_id}","starred_url":"https://api.github.com/users/bitinn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bitinn/subscriptions","organizations_url":"https://api.github.com/users/bitinn/orgs","repos_url":"https://api.github.com/users/bitinn/repos","events_url":"https://api.github.com/users/bitinn/events{/privacy}","received_events_url":"https://api.github.com/users/bitinn/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-04-25T12:53:37Z","updated_at":"2015-04-27T12:11:10Z","closed_at":"2015-04-27T12:11:10Z","body":"While I very much appreciate have dedicated API for just about every use-case scenario, this puts the burden of choosing the correct API on developers.\r\n\r\nhttps://github.com/yahoo/xss-filters/wiki\r\n\r\nIt would be great have a basic API that take cares of very common use-case: let's say, an API that covers `inHTMLData` + `inDoubleQuotedAttr`.\r\n\r\nAs a follow-up question: is it ok to apply both `inHTMLData` + `inDoubleQuotedAttr` on an output? If not, then developer do really have to remember the right API."}}