I couldn't find a way to ensure that 1. wasn't the start of 1.. so for now, I just added more tests about it in case someone else wants to give it a try.
As for .1 syntax, rust doesn't allow it so it's easy: just adding tests for it and not changing anything.
Fixes https://github.com/djc/askama/issues/1016.
I couldn't find a way to ensure that
1.
wasn't the start of1..
so for now, I just added more tests about it in case someone else wants to give it a try.As for
.1
syntax, rust doesn't allow it so it's easy: just adding tests for it and not changing anything.