diff options
| author | Yasutaka Shinzaki <shinzaki@yasu26.tech> | 2021-03-06 14:39:52 +0900 |
|---|---|---|
| committer | Jonathan Amsterdam <jba@google.com> | 2021-03-16 11:59:50 +0000 |
| commit | 7e065575c9454ae77599e932ebe4cacdb1e58a41 (patch) | |
| tree | 1433ababa2ee32ef82057e2dfa9a95584a0fd385 /internal/database/database.go | |
| parent | ac43fae6afb3c682772a9adde5e04344a2b1d5b0 (diff) | |
| download | go-x-pkgsite-7e065575c9454ae77599e932ebe4cacdb1e58a41.tar.xz | |
internal/godoc: parse heading correctly
In the page of cmd/go, `Modules, module versions, and more` wasn't
parsed correctly as heading. Therefor this change uses the same
determination condition as the heading function of the standard
library.
Fixes golang/go#44558
Change-Id: I68cc4182ac63d51197f6331fc74fd1209f3f2ff5
Reviewed-on: https://go-review.googlesource.com/c/pkgsite/+/299231
Reviewed-by: Jonathan Amsterdam <jba@google.com>
Trust: Julie Qiu <julie@golang.org>
Diffstat (limited to 'internal/database/database.go')
0 files changed, 0 insertions, 0 deletions
