diff --git a/assets/sass/style.sass b/assets/sass/style.sass index 1a573216a18531fa3dc9360ae96ebfec71fa7b8d..de2f0bab68324d00717430171457e77994fceb1e 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 4ed19b4fef9c708174373d07789b360ef4a6d18a..b74a3f3f2c50ef4555c76b9e92e4f1300e46fbc7 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(