Vincent Prouillet
Vincent Prouillet
The repo will likely be rewritten from scratch
So it should be fixed upstream then
I don't think it makes sense in Tera though. Structs are represented as JSON objects, what does it mean to iterate on a dict in reverse in that case? By...
I guess it should only be implemented if `preserve_order` is enabled then.
The current parser library doesn't allow passing variables to the lexer and neither does the future lexer library :/ Would adding something `[[`, `[%`, `[#` as equivalent to the curly...
Does it use [[, [%, [# though? Single `[`/`]` would be ignored. Otherwise
Tera only cares about `{{`, `{%` and `{#` (and their closing equivalents), a single `{` or `}` will not be considered. See https://github.com/Keats/tera/issues/642 for a recent example.
So the next parser has spanned expression pointing to the exact span in the template. Getting which value didn't exists in an expression like `var.field.subfield` is a bit more annoying...
Yep, you have to use `not`. So `{% if not my_var %}` and `{% if x is not containing(..) %}`
> We're starting to use Tera in rustdoc. :o nice! Performance is the main goal for v2 as well, I'm guessing a lot of allocations you see are from the...