1717
1818 {{if $.IsMain}}
1919 {{/* command documentation */}}
20- {{comment_html .Doc}}
20+ {{comment_html $ .Doc}}
2121 {{else}}
2222 {{/* package documentation */}}
2323 < div id ="short-nav ">
@@ -42,7 +42,7 @@ <h2 class="toggleButton" title="Click to show Overview section">Overview ▹</h2
4242 </ div >
4343 < div class ="expanded ">
4444 < h2 class ="toggleButton " title ="Click to hide Overview section "> Overview ▾</ h2 >
45- {{comment_html .Doc}}
45+ {{comment_html $ .Doc}}
4646 {{example_html $ ""}}
4747 </ div >
4848 </ div >
@@ -154,14 +154,14 @@ <h2 class="toggleButton" title="Click to hide Internal Call Graph section">Inter
154154 {{with .Consts}}
155155 < h2 id ="pkg-constants "> Constants</ h2 >
156156 {{range .}}
157- {{comment_html .Doc}}
157+ {{comment_html $ .Doc}}
158158 < pre > {{node_html $ .Decl true}}</ pre >
159159 {{end}}
160160 {{end}}
161161 {{with .Vars}}
162162 < h2 id ="pkg-variables "> Variables</ h2 >
163163 {{range .}}
164- {{comment_html .Doc}}
164+ {{comment_html $ .Doc}}
165165 < pre > {{node_html $ .Decl true}}</ pre >
166166 {{end}}
167167 {{end}}
@@ -174,7 +174,7 @@ <h2 id="{{$name_html}}">func <a href="{{posLink_url $ .Decl}}">{{$name_html}}</a
174174 {{if $since}}< span title ="Added in Go {{$since}} "> {{$since}}</ span > {{end}}
175175 </ h2 >
176176 < pre > {{node_html $ .Decl true}}</ pre >
177- {{comment_html .Doc}}
177+ {{comment_html $ .Doc}}
178178 {{example_html $ .Name}}
179179 {{callgraph_html $ "" .Name}}
180180
@@ -187,16 +187,16 @@ <h2 id="{{$tname_html}}">type <a href="{{posLink_url $ .Decl}}">{{$tname_html}}<
187187 {{$since := since "type" "" .Name $.PDoc.ImportPath}}
188188 {{if $since}}< span title ="Added in Go {{$since}} "> {{$since}}</ span > {{end}}
189189 </ h2 >
190- {{comment_html .Doc}}
190+ {{comment_html $ .Doc}}
191191 < pre > {{node_html $ .Decl true}}</ pre >
192192
193193 {{range .Consts}}
194- {{comment_html .Doc}}
194+ {{comment_html $ .Doc}}
195195 < pre > {{node_html $ .Decl true}}</ pre >
196196 {{end}}
197197
198198 {{range .Vars}}
199- {{comment_html .Doc}}
199+ {{comment_html $ .Doc}}
200200 < pre > {{node_html $ .Decl true}}</ pre >
201201 {{end}}
202202
@@ -212,7 +212,7 @@ <h3 id="{{$name_html}}">func <a href="{{posLink_url $ .Decl}}">{{$name_html}}</a
212212 {{if $since}}< span title ="Added in Go {{$since}} "> {{$since}}</ span > {{end}}
213213 </ h3 >
214214 < pre > {{node_html $ .Decl true}}</ pre >
215- {{comment_html .Doc}}
215+ {{comment_html $ .Doc}}
216216 {{example_html $ .Name}}
217217 {{callgraph_html $ "" .Name}}
218218 {{end}}
@@ -225,7 +225,7 @@ <h3 id="{{$tname_html}}.{{$name_html}}">func ({{html .Recv}}) <a href="{{posLink
225225 {{if $since}}< span title ="Added in Go {{$since}} "> {{$since}}</ span > {{end}}
226226 </ h3 >
227227 < pre > {{node_html $ .Decl true}}</ pre >
228- {{comment_html .Doc}}
228+ {{comment_html $ .Doc}}
229229 {{$name := printf "%s_%s" $tname .Name}}
230230 {{example_html $ $name}}
231231 {{callgraph_html $ .Recv .Name}}
@@ -238,7 +238,7 @@ <h3 id="{{$tname_html}}.{{$name_html}}">func ({{html .Recv}}) <a href="{{posLink
238238 < h2 id ="pkg-note-{{$marker}} "> {{noteTitle $marker | html}}s</ h2 >
239239 < ul style ="list-style: none; padding: 0; ">
240240 {{range .}}
241- < li > < a href ="{{posLink_url $ .}} " style ="float: left; "> ☞</ a > {{comment_html .Body}}</ li >
241+ < li > < a href ="{{posLink_url $ .}} " style ="float: left; "> ☞</ a > {{comment_html $ .Body}}</ li >
242242 {{end}}
243243 </ ul >
244244 {{end}}
0 commit comments