diff options
author | xengineering <me@xengineering.eu> | 2023-04-13 17:13:35 +0200 |
---|---|---|
committer | xengineering <me@xengineering.eu> | 2023-04-13 17:59:37 +0200 |
commit | 3f40bc37a1095259a42825bac08f939bc15e8a13 (patch) | |
tree | 046e81812581131b640b3024813dddb5ec2b712c | |
parent | 73391d7b8d847f3a8662be7c632658e7299acd37 (diff) | |
download | ceres-3f40bc37a1095259a42825bac08f939bc15e8a13.tar ceres-3f40bc37a1095259a42825bac08f939bc15e8a13.tar.zst ceres-3f40bc37a1095259a42825bac08f939bc15e8a13.zip |
Remove unnecessary FIXME
The security advice cares about HTML injected from recipe markup into
HTML templates. This is not a considered threat because the user is
trusted in this earlx version.
-rw-r--r-- | templates.go | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/templates.go b/templates.go index 2c3e79c..2769926 100644 --- a/templates.go +++ b/templates.go @@ -3,8 +3,7 @@ package main import ( "log" "net/http" - "text/template" // FIXME switch to html/template for security reasons - // and make a workaround for rendered Markdown insertion + "text/template" ) func setupTemplates() *template.Template { |