mirror of
https://github.com/golang/go
synced 2024-11-18 12:54:44 -07:00
cmd/godoc: fix multi-paragraph marker rendering
Fixes golang/go#15231 Change-Id: Ia0e00f1eca41dfdd85158feb3fa300df40cfa185 Reviewed-on: https://go-review.googlesource.com/21972 Reviewed-by: Andrew Gerrand <adg@golang.org>
This commit is contained in:
parent
3868f57059
commit
4b9c8b56b8
@ -219,7 +219,7 @@
|
||||
<h2 id="pkg-note-{{$marker}}">{{noteTitle $marker | html}}s</h2>
|
||||
<ul style="list-style: none; padding: 0;">
|
||||
{{range .}}
|
||||
<li><a href="{{posLink_url $ .}}">☞</a> {{html .Body}}</li>
|
||||
<li><a href="{{posLink_url $ .}}" style="float: left;">☞</a> {{comment_html .Body}}</li>
|
||||
{{end}}
|
||||
</ul>
|
||||
{{end}}
|
||||
|
@ -1802,7 +1802,7 @@ function cgAddChild(tree, ul, cgn) {
|
||||
<h2 id="pkg-note-{{$marker}}">{{noteTitle $marker | html}}s</h2>
|
||||
<ul style="list-style: none; padding: 0;">
|
||||
{{range .}}
|
||||
<li><a href="{{posLink_url $ .}}">☞</a> {{html .Body}}</li>
|
||||
<li><a href="{{posLink_url $ .}}" style="float: left;">☞</a> {{comment_html .Body}}</li>
|
||||
{{end}}
|
||||
</ul>
|
||||
{{end}}
|
||||
|
Loading…
Reference in New Issue
Block a user