diff --git a/main.go b/main.go index d511c7b..4008ee6 100644 --- a/main.go +++ b/main.go @@ -194,7 +194,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", "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,noclasses=True,", "utf-8") if err != nil { return "", err }