From f5d8e82b985a8cfb02d8b1c49ae58d61259eabc7 Mon Sep 17 00:00:00 2001 From: Eliot Whalan Date: Thu, 23 Jun 2016 19:24:18 +1000 Subject: [PATCH] Remove full page option and textarea --- assets/paste.html | 2 +- main.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/assets/paste.html b/assets/paste.html index 25f00a5..3bf1c2e 100644 --- a/assets/paste.html +++ b/assets/paste.html @@ -32,7 +32,7 @@
- + {{printf "%s" .Body}}
diff --git a/main.go b/main.go index 115b083..ece7de4 100644 --- a/main.go +++ b/main.go @@ -193,7 +193,7 @@ func saveHandler(w http.ResponseWriter, r *http.Request) { func highlight(s string, lang string) (string, error) { - highlight, err := pygments.Highlight(html.UnescapeString(s), html.EscapeString(lang), "html", "full, style=autumn,linenos=True, lineanchors=True,anchorlinenos=True,", "utf-8") + highlight, err := pygments.Highlight(html.UnescapeString(s), html.EscapeString(lang), "html", "style=autumn,linenos=True, lineanchors=True,anchorlinenos=True,", "utf-8") if err != nil { return "", err }