1
0
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:
Simon Jefford 2016-04-13 16:37:18 +01:00 committed by Andrew Gerrand
parent 3868f57059
commit 4b9c8b56b8
2 changed files with 2 additions and 2 deletions

View File

@ -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 $ .}}">&#x261e;</a> {{html .Body}}</li>
<li><a href="{{posLink_url $ .}}" style="float: left;">&#x261e;</a> {{comment_html .Body}}</li>
{{end}}
</ul>
{{end}}

View File

@ -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 $ .}}">&#x261e;</a> {{html .Body}}</li>
<li><a href="{{posLink_url $ .}}" style="float: left;">&#x261e;</a> {{comment_html .Body}}</li>
{{end}}
</ul>
{{end}}