Dirkjan Ochtman
Dirkjan Ochtman
I don't think it makes much sense to have an interpreter if it can only handle a smallish subset of what the Askama compiler supports.
You can actually sort of assume that the specific `{% if ... %}` block is causing the problem. Due to how parser combinators work (where in some cases the parser...
@Kijewski sounds interesting. Can you give an example before/after error?
I'm okay with the way passing a literal here doesn't work any more. It's definitely not enough to make me reconsider my stance on allowing `&` in templates.
It doesn't, we referenced the wrong issue there (since corrected).
See also #389, #273.
I'm open to it in principle as long as it doesn't add too much complexity in the code generator; if it can reuse most of the existing infrastructure for extends/block,...
What do you think it should do if the manifest dit is not available?
What is your use case anyway? What build system are you using if not Cargo? It doesn't seem too big of a deal to just set CARGO_MANIFEST_DIR in your environment...
If there is some other environment variable in a Buck context that we can work off of, I'd be open to having that as a fallback.