Remove dbeug logs
This commit is contained in:
@@ -8,7 +8,6 @@ import (
|
||||
"io"
|
||||
"io/ioutil"
|
||||
"local/notes-server/filetree"
|
||||
"log"
|
||||
"path"
|
||||
"regexp"
|
||||
"strings"
|
||||
@@ -63,7 +62,6 @@ func (n *Notes) commentFormer(urlPath string, md []byte) html.RenderNodeFunc {
|
||||
}
|
||||
return func(w io.Writer, node ast.Node, entering bool) (ast.WalkStatus, bool) {
|
||||
if heading, ok := node.(*ast.Heading); ok && !entering {
|
||||
log.Printf("%+v", heading)
|
||||
nextHeader()
|
||||
fmt.Fprintf(w, `
|
||||
<form method="POST" action=%q class="comment">
|
||||
|
||||
Reference in New Issue
Block a user