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 parsing style attribute with trailing spaces #172

Merged
merged 1 commit into from
May 9, 2023

Conversation

sergeyfedotov
Copy link
Contributor

Fixes #171

Since I'm not sure about the origin of the rule Add semi-colon to end to fix parsing issue, I simply added trimming of the trailing spaces.

@buro9
Copy link
Member

buro9 commented May 9, 2023

This is a good catch, thanks... will merge 👍

Since it's not a security issue I usually leave these for a little before a new release is cut in case it accrues other small fixes. So if you want to reference this in your Go.mod you'll need the commit for now.

@buro9 buro9 merged commit c506024 into microcosm-cc:main May 9, 2023
7 checks passed
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.

Trailing spaces in style attributes break sanitizing
2 participants