From cb3ba3044a3b968b3f4963798a58e63c8a9a09eb Mon Sep 17 00:00:00 2001 From: Eliot Whalan Date: Wed, 26 Oct 2016 15:12:52 +1000 Subject: [PATCH] Fix up syntax highlighting page issue --- pastebin.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pastebin.go b/pastebin.go index 5dee951..423c9cf 100644 --- a/pastebin.go +++ b/pastebin.go @@ -239,7 +239,7 @@ func SaveHandler(w http.ResponseWriter, r *http.Request) { // paste func Highlight(s string, lang string) (string, error) { - highlight, err := pygments.Highlight(html.UnescapeString(s), html.EscapeString(lang), "html", "style=autumn,linenos=True, lineanchors=True,anchorlinenos=True,noclasses=True,", "utf-8") + highlight, err := pygments.Highlight(html.UnescapeString(s), html.EscapeString(lang), "html", "style=autumn, linenos=inline, noclasses=True,", "utf-8") if err != nil { return "", err }