Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Illegal nesting: nesting within plain text is illegal. #37

Closed
frodsan opened this Issue · 6 comments

3 participants

@frodsan

I'm getting this error Illegal nesting: nesting within plain text is illegal.

when i use handlebars filter:

handlebars:
    {{view Ember.Button}}OK{{/view}}
@tchak
Collaborator

hmm could it be a matter of number of spaces/tabs you use?

@btelles

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?

@tchak tchak closed this issue from a commit
@tchak tchak fix #37 c5686dc
@tchak tchak closed this in c5686dc
@tchak
Collaborator

Let me know if you still have a problem

@btelles

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.

@btelles

done.

@frodsan

I put the colon before the name and it's working OK. Thanks ;)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.