Now we can combine three different types of quotation marks

This commit is contained in:
Seednode 2023-11-07 20:26:14 -06:00
parent 77e98c1f52
commit be2c118284
2 changed files with 5 additions and 5 deletions

View File

@ -12,7 +12,7 @@ import (
) )
const ( const (
ReleaseVersion string = "3.2.6" ReleaseVersion string = "3.2.7"
) )
var ( var (

View File

@ -144,28 +144,28 @@ func paginateSorted(path, first, last, queryParams string, regexes *regexes, for
html.WriteString(`<table style="margin-left:auto;margin-right:auto;"><tr><td>`) html.WriteString(`<table style="margin-left:auto;margin-right:auto;"><tr><td>`)
html.WriteString(fmt.Sprintf(`<button onclick="window.location.href = "%s%s%s%s";"%s>First</button>`, html.WriteString(fmt.Sprintf(`<button onclick='window.location.href = "%s%s%s%s";'%s>First</button>`,
Prefix, Prefix,
mediaPrefix, mediaPrefix,
first, first,
queryParams, queryParams,
firstStatus)) firstStatus))
html.WriteString(fmt.Sprintf(`<button onclick="window.location.href = "%s%s%s%s";"%s>Prev</button>`, html.WriteString(fmt.Sprintf(`<button onclick='window.location.href = "%s%s%s%s";'%s>Prev</button>`,
Prefix, Prefix,
mediaPrefix, mediaPrefix,
prevPage, prevPage,
queryParams, queryParams,
prevStatus)) prevStatus))
html.WriteString(fmt.Sprintf(`<button onclick="window.location.href = "%s%s%s%s";"%s>Next</button>`, html.WriteString(fmt.Sprintf(`<button onclick='window.location.href = "%s%s%s%s";'%s>Next</button>`,
Prefix, Prefix,
mediaPrefix, mediaPrefix,
nextPage, nextPage,
queryParams, queryParams,
nextStatus)) nextStatus))
html.WriteString(fmt.Sprintf(`<button onclick="window.location.href = "%s%s%s%s";"%s>Last</button>`, html.WriteString(fmt.Sprintf(`<button onclick='window.location.href = "%s%s%s%s";'%s>Last</button>`,
Prefix, Prefix,
mediaPrefix, mediaPrefix,
last, last,