I'm getting this error Illegal nesting: nesting within plain text is illegal.
Illegal nesting: nesting within plain text is illegal.
when i use handlebars filter:
hmm could it be a matter of number of spaces/tabs you use?
I'm getting exactly the same error. It appears the handlebars filter isn't getting registered. Either that or I'm putting the handlebars filter in the wrong file. We're supposed to put it in regular view files like "app/views/welcome/index.html.haml" right?
Let me know if you still have a problem
P.S. I figured out the problem with @frodsan 's and my code. We were putting the colon ":" AFTER the filter name, instead of before. I'll submit a tiny pull request to correct the readme that says to put the colon after the name.
I put the colon before the name and it's working OK. Thanks ;)