Open thor opened 12 years ago
This is due to a bug in the old template parser. The new templating system which runs on Twig should does not have this issues.
Alternatively, you can get around it with some creative partial use, placing the two if
statements inside a partial should do the trick.
Ah, fair enough - sounds good. I'll give that a try and see how it goes.
May I come with a little off topic question: what's the status on 3.0/trunk - what level of stability/usability is there at the moment?
Let's say I have...
this:
... where @variable is "success!" and @title is "expected success!".
... and then I get this:
The expected behavior would in my opinion be that the
@variable
can be checked and returned totrue
, notfalse
- even though it does have content.The snippet above is its own partial, referenced from within a get.