From 3f40bc37a1095259a42825bac08f939bc15e8a13 Mon Sep 17 00:00:00 2001 From: xengineering Date: Thu, 13 Apr 2023 17:13:35 +0200 Subject: 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. --- templates.go | 3 +-- 1 file changed, 1 insertion(+), 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 { -- cgit v1.2.3-70-g09d2