Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Problem with "+", "++" and whitespace #26

Closed
davidkhess opened this Issue · 2 comments

2 participants

@davidkhess

Needed whitespace is being lost in this example.

>>> minify('''"begin"+ ++a+"end"''')
'"begin"+++a+"end";'
>>> 

The result is interpreted as a ++ postfix operator on "begin".

@rspivak
Owner

Fixed in 600861b

@rspivak rspivak closed this
@davidkhess

Thanks!

@acatton acatton referenced this issue from a commit in acatton/slimit
@rspivak Bug fix: rspivak#26
Problem with "+", "++" and whitespace
065b6fd
@acatton acatton referenced this issue from a commit in acatton/slimit
@rspivak Add failing test for rspivak#26 db1b2b4
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.