see above. normally it would be plain wrong actually but a template is a specific context like css or javascript or html being things outside of go with their own distinct paradigms. 
And trying to support the template author with these things helps him to express himself.
It's a web tool and not a go program so i thought i try to give them all the power they can utilize there.
The main question for me is. Do i bring in weirdness that will lead to unexpected results in this context or will it feel smooth and natural and i am not sure either about the []rune thing to be honest, but i couldn't think of any problem either that it could cause.