tyler-sommer / stick

A golang port of the Twig templating engine
MIT License
183 stars 36 forks source link

Auto escaping not escaping nested variables #33

Open shane-exley opened 4 years ago

shane-exley commented 4 years ago

Auto escaping work fine for top level variables but ignores nested

tyler-sommer commented 1 year ago

I'm extremely late to the party, but thank you for submitting this issue @shane-exley !

I took some time to see if I could replicate this behavior, but what I've come up with seems to be working as expected. Here's a Go Playground link with the code I'm using to validate: https://go.dev/play/p/DkvtMDqjbci

Can you provide a bit more context or steps to replicate this bug? Much appreciated!