Results 1383 comments of Vincent Prouillet

I'm wondering if this behaviour of returning the empty string should be removed entirely in Tera v2.

yes, although probably with some kind of `required`/`default` parameters

sounds like something ok to add

Do you have the `preserve_order` feature enabled? You can also point rustdoc to a local Tera version using HashMap instead of BTreeMaps. I can't remember why it's using BTreeMaps instead...

It's tricky because some errors have a source and how to handle them is up to you, eg https://github.com/getzola/zola/blob/master/src/console.rs#L118-L123

This filter comes from Django so I would make it behave the same

It will probably change for the v2

I would take a PR for that if it doesn't bring some big dependencies.

If you can split dbg from format yes

Tera is currently only looking for blocks at the top level of a template or inside a block, therefore not in a condition. It would be possible to fix but...