mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2025-11-28 19:13:31 -06:00
Noescape (#88)
* disable html escaping for short description * provide noescape function for templates * move template functions before template loading * go fmt * linter fixes
This commit is contained in:
parent
bdba3ff9a9
commit
f05b255511
4 changed files with 19 additions and 1 deletions
|
|
@ -101,5 +101,9 @@ func (m *Module) Route(s router.Router) error {
|
|||
// 404 handler
|
||||
s.AttachNoRouteHandler(m.NotFoundHandler)
|
||||
|
||||
if err != nil {
|
||||
return fmt.Errorf("error setting router FuncMap: %s", err)
|
||||
}
|
||||
|
||||
return nil
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue