aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/godoc/package.html4
-rw-r--r--lib/godoc/package.txt2
2 files changed, 4 insertions, 2 deletions
diff --git a/lib/godoc/package.html b/lib/godoc/package.html
index 6795d142d1..33c2c27917 100644
--- a/lib/godoc/package.html
+++ b/lib/godoc/package.html
@@ -169,9 +169,11 @@
{{with $.Notes}}
{{range $marker, $content := .}}
<h2 id="pkg-note-{{$marker}}">{{noteTitle $marker | html}}s</h2>
+ <ul>
{{range .}}
- {{comment_html .}}
+ <li>{{html .Body}}</li>
{{end}}
+ </ul>
{{end}}
{{end}}
{{end}}
diff --git a/lib/godoc/package.txt b/lib/godoc/package.txt
index 765bd769e1..bc11fc3c54 100644
--- a/lib/godoc/package.txt
+++ b/lib/godoc/package.txt
@@ -67,7 +67,7 @@ TYPES
{{range $marker, $content := .}}
{{$marker}}S
-{{range $content}}{{comment_text . " " "\t"}}
+{{range $content}}{{comment_text .Body " " "\t"}}
{{end}}{{end}}{{end}}{{end}}{{/*
---------------------------------------