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

Fix unintended attribute minification #177

Merged
merged 1 commit into from
Nov 23, 2019
Merged

Conversation

Turbo87
Copy link
Collaborator

@Turbo87 Turbo87 commented Nov 23, 2019

It turns out that we were unintentionally collapsing whitespace in all attributes because TextNode nodes are used in AttrNode::value. Since whitespace can be significant in these cases we have to fix this.

#114 will later introduce something similar specifically for the class attribute.

@Turbo87 Turbo87 added the bug label Nov 23, 2019
@Turbo87 Turbo87 merged commit a0ff3d4 into mainmatter:master Nov 23, 2019
@Turbo87 Turbo87 deleted the attrs branch November 23, 2019 18:50
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 this pull request may close these issues.

None yet

1 participant