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

Reduce the scope of the regex #6

Open
bmds opened this issue Oct 15, 2015 · 2 comments
Open

Reduce the scope of the regex #6

bmds opened this issue Oct 15, 2015 · 2 comments

Comments

@bmds
Copy link
Owner

bmds commented Oct 15, 2015

Currently the regex match too broadly especially for the float and clear properties. They allow authors to use block-start and block-end while the specification only defines inline-start and inline-end.

They should be changed so that only code written to the spec will be correctly converted.

@jonathantneal
Copy link

Alternatively, this is the use case for PostCSS Value Parser.

@bmds
Copy link
Owner Author

bmds commented Nov 10, 2015

Thanks @jonathantneal i'll take a look

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

No branches or pull requests

2 participants