From 37d772e4a63a77c481c6ddf245a910eb0bdea21c Mon Sep 17 00:00:00 2001 From: Janne Koschinski <janne@kuschku.de> Date: Sun, 18 Mar 2018 04:09:35 +0100 Subject: [PATCH] Fixed a minor issue --- assets/sass/style.sass | 5 ++++- page_image_detail.go | 7 ------- 2 files changed, 4 insertions(+), 8 deletions(-) diff --git a/assets/sass/style.sass b/assets/sass/style.sass index 1a57321..de2f0ba 100644 --- a/assets/sass/style.sass +++ b/assets/sass/style.sass @@ -225,4 +225,7 @@ form.upload .fake-input[contenteditable]:empty:before opacity: 0.4 - content: attr(placeholder) \ No newline at end of file + content: attr(placeholder) + +.fake-input[contenteditable][data-multiline] + white-space: pre-line \ No newline at end of file diff --git a/page_image_detail.go b/page_image_detail.go index 4ed19b4..b74a3f3 100644 --- a/page_image_detail.go +++ b/page_image_detail.go @@ -43,13 +43,6 @@ func pageImageDetail(ctx PageContext) http.Handler { panic(err) } - println("Post data begin") - println(r.PostForm.Encode()) - for key, value := range r.PostForm { - fmt.Printf("%s: %s", key, value) - } - println("Post data end") - switch r.PostFormValue("action") { case "update": _, err = ctx.Database.Exec( -- GitLab