mirror of https://github.com/go-gitea/gitea
Refactor more code in templates (#29236)
Follow #29165. * Introduce JSONTemplate to help to render JSON templates * Introduce JSEscapeSafe for templates. Now only use `{{ ... | JSEscape}}` instead of `{{ ... | JSEscape | Safe}}` * Simplify "UserLocationMapURL" useagepull/29239/head^2
parent
a784ed3d6c
commit
31bb9f3247
Loading…
Reference in new issue