tj / haml.js

Faster Haml JavaScript implementation for nodejs

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

String interpolation doesn't work

pawelkomarnicki opened this issue · comments

I don't know why, but when installed with expressjs the string interpolation doesn't work at all, it just outputs the text

String interpolation was not available with 0.6.1 (the current version on npm). I just published 0.6.2 - try again with that one.

Works for normal tags, but doesn't still work for :javascript or inside %script

Also doesn't work for stuff like:

%td
  %i.fa.fa-money
  Money reports #{ some_variable }

But works when "Money reports" are wrapped in a %span tag