diff --git a/cmd/godoc/appinit.go b/cmd/godoc/appinit.go index d91c84fe..ad95b213 100644 --- a/cmd/godoc/appinit.go +++ b/cmd/godoc/appinit.go @@ -13,6 +13,7 @@ import ( "archive/zip" "log" "path" + "regexp" "golang.org/x/tools/godoc" "golang.org/x/tools/godoc/static" @@ -56,6 +57,7 @@ func init() { pres.ShowPlayground = true pres.ShowExamples = true pres.DeclLinks = true + pres.NotesRx = regexp.MustCompile("BUG") readTemplates(pres, true) registerHandlers(pres)