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

dir="auto" used to be removed in v0.1.8 but is not in v0.1.10 #36

Closed
howardcox opened this issue Jul 11, 2019 · 2 comments
Closed

dir="auto" used to be removed in v0.1.8 but is not in v0.1.10 #36

howardcox opened this issue Jul 11, 2019 · 2 comments
Labels

Comments

@howardcox
Copy link

Hi,

We've noticed that dir="auto" is no longer removed in v0.1.10.

Was that a deliberate decision? It's not mentioned in the release notes...

It's not a problem for us, but may be for others.

@xemlock
Copy link
Owner

xemlock commented Jul 11, 2019

Hi @howardcox,
dir="auto" is a valid attribute as defined in HTML5 spec. Versions prior to 0.1.9 were using HTMLPurifier's built-in Bdo implementation, which follows XHTML 1.1 spec and allows only ltr and rtl values. Version 0.1.9 introduced a proper, HTML5-compliant implementation, which allows all three values.

But you're right - the information about this should (and will) be added to 0.1.9 release notes.

@howardcox
Copy link
Author

Thanks

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

No branches or pull requests

2 participants