When I do something like the following, I'm getting a syntax error
%div{:class => "test"}= "#{something}somestring"
There's a workaround:
%div{:class => "test"}
= "#{something}somestring"
This works correctly.
Just wanted to let you know.
Kind regards,
Jeroen van Doorn
%div{:class => "test"}= "#{something}somestring"
or
%div{:class => "#{something}somestring"}= "test"
And we chose the former, because we wanted people to be able to embed
stuff in attribute strings easily.
Thanks, though.
- Nathan
- Nathan