From f2b0733eefc56dcee210ecd1fbe6a9d5d159d6f0 Mon Sep 17 00:00:00 2001 From: xengineering Date: Thu, 9 Feb 2023 22:00:32 +0100 Subject: Remove commented code --- handler.go | 5 ----- 1 file changed, 5 deletions(-) diff --git a/handler.go b/handler.go index 2cb8787..3bdccfd 100644 --- a/handler.go +++ b/handler.go @@ -200,11 +200,6 @@ func recipeEditGet(w http.ResponseWriter, r *http.Request, db *Database, templat return } - // render markdown - // var buf bytes.Buffer - // goldmark.Convert([]byte(elements[0].DescriptionMarkdown), &buf) - // elements[0].RenderedDescriptionMarkdown = buf.String() - // render and return template path := filepath.Join(templateRoot, "recipe_edit.html") ServeTemplate(w, "recipe", path, elements[0]) -- cgit v1.2.3-70-g09d2