Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

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

Comments

Projects
None yet
2 participants

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

Collaborator

netzpirat commented Jun 19, 2012

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.

@netzpirat netzpirat closed this Jun 19, 2012

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment