Remove full page option and textarea

This commit is contained in:
Eliot Whalan 2016-06-23 19:24:18 +10:00
parent a778cefe6d
commit 4acda57bd3
No known key found for this signature in database
GPG Key ID: C0A42175139840D6
2 changed files with 2 additions and 2 deletions

View File

@ -32,7 +32,7 @@
<div class="well" style="padding-top: 10px;">
<div class="form-group is-empty" style="margin-top: 0px;">
<textarea class="form-control" rows="20" id="textArea">{{printf "%s" .Body}}</textarea>
{{printf "%s" .Body}}
</div>
</div>

View File

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