We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
WeasyPrint only enables hyphenation when the lang attribute matches exactly the dictionary name. It should be smarter when matching languages.
lang
The text was updated successfully, but these errors were encountered:
The HTML spec on the lang attribute references BCP47:
http://www.whatwg.org/specs/web-apps/current-work/multipage/elements.html#the-lang-and-xml:lang-attributes http://www.ietf.org/rfc/bcp/bcp47.txt
Sorry, something went wrong.
6315af3
It had been added for ages in pyphen to fix this bug!
No branches or pull requests
WeasyPrint only enables hyphenation when the
lang
attribute matches exactly the dictionary name. It should be smarter when matching languages.The text was updated successfully, but these errors were encountered: