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

:css filter ignores content unless indented twice #96

Closed
niallsmart opened this issue Apr 26, 2013 · 2 comments
Closed

:css filter ignores content unless indented twice #96

niallsmart opened this issue Apr 26, 2013 · 2 comments

Comments

@niallsmart
Copy link

The compiled version of the following template has an empty style block:

:css
 div { color: red; }
%div
 there is bug

If you add a second space at the start of line 2 (i.e., before div { ... }) then it works as expected.

@netzpirat
Copy link
Collaborator

Thanks for reporting. The issue has been fixed in the Haml-Coffee parser.

@niallsmart
Copy link
Author

That was quick :) Thanks!

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