From e7b4b10c0f672ba4d50d7d3306088721210b4bff Mon Sep 17 00:00:00 2001 From: Umputun Date: Sun, 4 Feb 2018 15:31:15 -0600 Subject: [PATCH] no md extensions for edit as well --- app/rest/server.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/rest/server.go b/app/rest/server.go index aadef818..bf300864 100644 --- a/app/rest/server.go +++ b/app/rest/server.go @@ -186,7 +186,7 @@ func (s *Server) updateCommentCtrl(w http.ResponseWriter, r *http.Request) { id := chi.URLParam(r, "id") // render markdown - edit.Text = string(blackfriday.Run([]byte(edit.Text))) + edit.Text = string(blackfriday.Run([]byte(edit.Text), blackfriday.WithNoExtensions())) log.Printf("[DEBUG] update comment %s, %+v", id, edit)