{"action":"created","issue":{"url":"https://api.github.com/repos/cure53/DOMPurify/issues/146","repository_url":"https://api.github.com/repos/cure53/DOMPurify","labels_url":"https://api.github.com/repos/cure53/DOMPurify/issues/146/labels{/name}","comments_url":"https://api.github.com/repos/cure53/DOMPurify/issues/146/comments","events_url":"https://api.github.com/repos/cure53/DOMPurify/issues/146/events","html_url":"https://github.com/cure53/DOMPurify/issues/146","id":148065793,"number":146,"title":"Detect which tags / attributes have been removed?","user":{"login":"jampy","id":820758,"avatar_url":"https://avatars.githubusercontent.com/u/820758?v=3","gravatar_id":"","url":"https://api.github.com/users/jampy","html_url":"https://github.com/jampy","followers_url":"https://api.github.com/users/jampy/followers","following_url":"https://api.github.com/users/jampy/following{/other_user}","gists_url":"https://api.github.com/users/jampy/gists{/gist_id}","starred_url":"https://api.github.com/users/jampy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jampy/subscriptions","organizations_url":"https://api.github.com/users/jampy/orgs","repos_url":"https://api.github.com/users/jampy/repos","events_url":"https://api.github.com/users/jampy/events{/privacy}","received_events_url":"https://api.github.com/users/jampy/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2016-04-13T13:44:27Z","updated_at":"2016-04-13T13:51:39Z","closed_at":"2016-04-13T13:50:28Z","body":"Is there any way to get a list (or something) of all tags and attributes that have been sanitized (removed) when calling `sanitize()`?\r\n\r\nThere are still some (SVG-related) elements/attributes missing in the current whitelist and it's pretty laborious to find missing pieces in an over-sanitized document... ;-)"},"comment":{"url":"https://api.github.com/repos/cure53/DOMPurify/issues/comments/209449698","html_url":"https://github.com/cure53/DOMPurify/issues/146#issuecomment-209449698","issue_url":"https://api.github.com/repos/cure53/DOMPurify/issues/146","id":209449698,"user":{"login":"cure53","id":6709482,"avatar_url":"https://avatars.githubusercontent.com/u/6709482?v=3","gravatar_id":"","url":"https://api.github.com/users/cure53","html_url":"https://github.com/cure53","followers_url":"https://api.github.com/users/cure53/followers","following_url":"https://api.github.com/users/cure53/following{/other_user}","gists_url":"https://api.github.com/users/cure53/gists{/gist_id}","starred_url":"https://api.github.com/users/cure53/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cure53/subscriptions","organizations_url":"https://api.github.com/users/cure53/orgs","repos_url":"https://api.github.com/users/cure53/repos","events_url":"https://api.github.com/users/cure53/events{/privacy}","received_events_url":"https://api.github.com/users/cure53/received_events","type":"User","site_admin":false},"created_at":"2016-04-13T13:51:39Z","updated_at":"2016-04-13T13:51:39Z","body":"Happy to add what is needed to make it work flawlessly - best just file us a collective ticket. We will then review the tags and attributes for security risks and add them afterwards :)"}}