Skip to content

Handle spaces in parens in srcset descriptors. Fixes #180 #181

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

Merged
merged 2 commits into from
May 23, 2014

Conversation

zcorpan
Copy link

@zcorpan zcorpan commented May 22, 2014

No description provided.


<dd>
Advance <var>position</var> to the next character in <var>input</var>.
If <var>current token</var> is not empty,
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

or EOF?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

EOF is handled lower down. It's the same except you don't advance to the next character since that makes little sense for EOF.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Wouldn't the above add the EOF to descriptors if the input ends with a comma?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Forget about it, read it all wrong

@yoavweiss
Copy link
Member

Looks good!

yoavweiss added a commit that referenced this pull request May 23, 2014
Handle spaces in parens in srcset descriptors. Fixes #180
@yoavweiss yoavweiss merged commit 73b2d90 into ResponsiveImagesCG:gh-pages May 23, 2014
@zcorpan zcorpan deleted the fix-180 branch May 23, 2014 09:13
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