summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--handler.go5
1 files changed, 0 insertions, 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])