Don't decode ID's
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Peter Stuifzand 2020-05-30 23:31:34 +02:00
parent 1453846a7f
commit 725f1b8adb
2 changed files with 0 additions and 3 deletions

View File

@ -28,7 +28,6 @@ func processBackrefs(fp *FilePages) error {
content := page.Content content := page.Content
var listItems []struct { var listItems []struct {
ID string
Indented int Indented int
Text string Text string
} }

View File

@ -462,7 +462,6 @@ func (h *indexHandler) ServeHTTP(w http.ResponseWriter, r *http.Request) {
jsonPage := pageText != "" && err == nil jsonPage := pageText != "" && err == nil
if jsonPage { if jsonPage {
var listItems []struct { var listItems []struct {
ID string
Indented int Indented int
Text string Text string
} }
@ -636,7 +635,6 @@ func main() {
content := page.Content content := page.Content
var listItems []struct { var listItems []struct {
ID string
Indented int Indented int
Text string Text string
} }