Skip to content

Conversation

@mrdziuban
Copy link

Fixes #233 by adding a new always_quote_attr_values option. The default behavior remains the same -- when the option isn't specified, attribute values will be unquoted when possible.

I'm personally interested in having this option available because I'd like to use this library to minify HTML for emails, and I'm not confident that unquoted attributes will be handled well across all email clients.

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.

Force quoting of attribute values

1 participant