small fixes

This commit is contained in:
crapStone 2023-11-16 00:48:56 +01:00
parent 2eaa9f82c2
commit d48315ab57
No known key found for this signature in database
GPG key ID: D74B82E7CDD863FE
3 changed files with 3 additions and 3 deletions

View file

@ -2,8 +2,8 @@ package html
import (
_ "embed"
"html/template"
"net/http"
"text/template" // do not use html/template here, we sanitize the message before passing it to the template
"codeberg.org/codeberg/pages/server/context"
"github.com/microcosm-cc/bluemonday"