Skip to content

Fix parsing negative numeric arguments without a leading digit #54

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

Closed
wants to merge 1 commit into from
Closed

Fix parsing negative numeric arguments without a leading digit #54

wants to merge 1 commit into from

Conversation

slusarz
Copy link
Contributor

@slusarz slusarz commented Mar 19, 2013

E.g. this:
-.5em

Was being parsed/output as

  • 0.5em

E.g. this:
   -.5em

Was being parsed/output as
   - 0.5em
@sabberworm
Copy link
Collaborator

Thanks for the patch. I’ve changed the parsing code a bit and also included a unit test.

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.

2 participants