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

Parsing fails with double quotes inside single-quoted attribute value #51

Closed
sandrew opened this issue Jun 19, 2012 · 1 comment
Closed

Comments

@sandrew
Copy link

sandrew commented Jun 19, 2012

This asset fails to compile:

#page{:style => 'font-family: "Lucida Grande", "Verdana"; text-align: center'}
  .content{:id => @yield()}

And this does not:

#page{:style => 'text-align: center'}
  .content{:id => @yield()}

From https://github.com/roundlake/joosy/issues/26

@netzpirat
Copy link
Collaborator

I missed to encode the double quotes in the last attribute parser refactoring. You're code snippets are now part of the spec suite. Thanks for reporting.

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