static escaping == great idea, but performance are strongly impacted. As i worried about, the problem i m figuring now is that html package does not expose enough of its implementation. for example most escape functions are private, https://golang.org/src/html/template/escape.go#L48
But from what i try to do, it resumes to a func call, i don t have to re implement the context identifier, as its already done by the template.escape method (once the template is executed). Anyway, i ll do some copy paste for instance, lets see, plenty of cases to manage before it can get useful. -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.