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

add acceptable tag ruby and rt #434

Open
wants to merge 2 commits into
base: develop
Choose a base branch
from

Conversation

dokosho02
Copy link

I tested locally and found that it does indeed preserve the ruby and rt tags, so I submitted a pull request.

Copy link
Owner

@kurtmckee kurtmckee left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice! I anticipate that this should also support the <rp> element, for user agents that cannot render ruby elements.

@@ -108,6 +108,8 @@ class HTMLSanitizer(BaseHTMLProcessor):
"pre",
"progress",
"q",
"rt",
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
"rt",
"rp",
"rt",

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