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

Allow alt attribute on img by default #525

Closed
brunnerh opened this issue Dec 23, 2021 · 0 comments · Fixed by #529
Closed

Allow alt attribute on img by default #525

brunnerh opened this issue Dec 23, 2021 · 0 comments · Fixed by #529
Labels

Comments

@brunnerh
Copy link

To Reproduce

Step by step instructions to reproduce the behavior:

  1. Sanitize <img> with alt attribute

Expected behavior

alt attribute is retained.

Describe the bug

alt attribute is removed.

Details

In general the alt attribute is required by the HTML standard and should not be removed by default.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant