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

Added option to disable removing of optional attribute quotes #5

Merged
merged 1 commit into from
Jan 8, 2014

Conversation

zeebonk
Copy link
Contributor

@zeebonk zeebonk commented Jan 8, 2014

I am currently in a situation where I'm minifying html snippets where we use placeholders in attributes which get replaced later on. Because the quotes are optional based on the content of the attribute, which isn't yet known when minifying, the quotes are removed when they shouldn't be. I've added an extra option to disable the removing of quotes completely.

PS: I just noticed my editor removed some trailing whitespace, which ads some noise to the commit. I hope this isn't a problem.

mankyd added a commit that referenced this pull request Jan 8, 2014
Added option to disable removing of optional attribute quotes
@mankyd mankyd merged commit 079525c into mankyd:master Jan 8, 2014
@zeebonk
Copy link
Contributor Author

zeebonk commented Jan 9, 2014

Great, thanks! Would it be possible to also have it pushed to pypi?

@lswartsenburg
Copy link

@zeebonk Zit je nou een beetje ons oude kantoor over te nemen? Pas op: de mensen boven kunnen je horen als een nummer 2 doet.

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.

3 participants