robfig / soy

Go implementation for Soy templates (Google Closure templates)
MIT License
172 stars 41 forks source link

autoescape="strict" not supported #44

Open hochhaus opened 8 years ago

hochhaus commented 8 years ago

When trying to use a template which explicitly specifies autoescape="strict" this package fails with:

expected "true", "false", or "contextual" for autoescape, got "strict"

As several of the closure-templates example files specify strict autoescape they are not usable without modification. Strict autoescaping was added to soy templates in the April 2014 release and is now the new default. Do any plans exist to add support to this package?

robfig commented 6 years ago

I would love to add support. It's not such an easy project though and I haven't had a sufficient block of dedicated time to do it.