attributes set to empty string are ignored #63

deadlyicon opened this Issue Apr 18, 2012 · 3 comments


None yet
4 participants

%a{href:""} Empty Link

should generate

Empty Link

instead it generates

Empty Link

empty values for attributes should not be ignored.


Did you ever find a solution to this? I'm having the same issue

👍 and tj's edition has the same issue.
My workaround is to place some text like _REPLACE_ME_IN_COMPILATION_ and replace it compilation (node server, gulp, etc.)

I believe this is a Haml issue instead of haml-js. I'm having the same problem but I'm using a gem for ruby on rails "haml-rails" and the problem remains the same.

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