Problem: lists generate with *
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
Solution: generate lists for -
This commit is contained in:
parent
8af3d22d06
commit
564081a581
4
main.go
4
main.go
|
@ -842,7 +842,7 @@ func (h *indexHandler) ServeHTTP(w http.ResponseWriter, r *http.Request) {
|
|||
for _, line := range lines {
|
||||
if first {
|
||||
builder.WriteString(strings.Repeat(" ", item.Indented))
|
||||
builder.WriteString("* ")
|
||||
builder.WriteString("- ")
|
||||
builder.WriteString(line)
|
||||
builder.WriteByte('\n')
|
||||
first = false
|
||||
|
@ -859,7 +859,7 @@ func (h *indexHandler) ServeHTTP(w http.ResponseWriter, r *http.Request) {
|
|||
}
|
||||
}
|
||||
builder.WriteString(strings.Repeat(" ", item.Indented))
|
||||
builder.WriteString("* ")
|
||||
builder.WriteString("- ")
|
||||
builder.WriteString(item.Text)
|
||||
builder.WriteByte('\n')
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user