Fix up syntax highlighting page issue

This commit is contained in:
Eliot Whalan 2016-10-26 15:12:52 +10:00
parent a1e19c2966
commit cb3ba3044a
1 changed files with 1 additions and 1 deletions

View File

@ -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
}