diff --git a/scripts/speculator/main.go b/scripts/speculator/main.go index 87ee4bf6..153a8f38 100644 --- a/scripts/speculator/main.go +++ b/scripts/speculator/main.go @@ -664,13 +664,23 @@ function redirectToApiDocs(relativePath) { branchNames = append(branchNames, "HEAD") for _, branch := range branchNames { href := "spec/" + url.QueryEscape(branch) + "/" - fmt.Fprintf(&b, `
  • %s
  • `, href, branch) + fmt.Fprintf(&b, "
  • %s
  • \n", href, branch) if *includesDir != "" { - fmt.Fprintf(&b, `
  • %s, styled like matrix.org
  • `, + fmt.Fprintf(&b, "
  • %s, styled like matrix.org
  • \n", href, branch) } } - b.Write([]byte("")) + b.Write([]byte("\n\n")) + + b.Write([]byte("
    View the API docs at:
    ")) + + b.Write([]byte("")) b.WriteTo(w) }