Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Modifying class-amp-blacklist-sanitizer to handle tag specific attrib… #297

Closed
wants to merge 1 commit into from

Conversation

sevatt
Copy link

@sevatt sevatt commented Mar 1, 2016

Modifying class-amp-blacklist-sanitizer to strip tag specific attributes. The removed attributes are moved to the class of the tag in the form attribute-name_value.

The function get_blacklisted_attributes_for_tags() is designed to allow for a different set of attributes to be stripped per tag. For the first iteration, it is using at the same set of attributes for each of the tags.

…utes to strip. The removed attributes are moved to classes in the form attribute-name_value.
@mjangda
Copy link
Contributor

mjangda commented Jul 14, 2017

Closing as we've moved to a whitelist-based approach #600

@mjangda mjangda closed this Jul 14, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants