Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP


link=false not working for {{if}} at all #74

athalay opened this Issue · 2 comments

2 participants

Csabi Boris Moore

I read that you advised to use link=false inside {{if}} conditions when they are inside a tag, because by default additional html-comments are generated around the if-condition-body.

I'm trying the following:

{{if level==1 link=false}} fikusz{{/if}}

But still html comments are generated around "fikusz". I want to use this approach to set/unset css-classes, but they don't work are simple content either.

What do I do wrong?

Boris Moore

You are correct. That is not currently working.

There have been some changes to how link and render interact, to ensure that if you call render, the annotations are never created. But with the new implementation, if you call link, the opting out of the link annotations within a specific tag such as {{if}} by setting link=false is not currently working, and needs to be re-implemented.

I will try to add that feature back in soon, and will update here when it is available. Thanks for calling this issue out.

Boris Moore

Fixed in a92f67f (Pre beta version 17)

Boris Moore BorisMoore closed this
Aria Stewart aredridel referenced this issue from a commit in blumenthals/RapidWeb
Boris Moore Support for setting link=false.
(Fix for BorisMoore/jsviews#74, and related
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.