From: Olivier Duperray Date: Wed, 7 Dec 2011 20:00:38 +0000 (-0500) Subject: godoc:
 must not occur inside 

X-Git-Tag: weekly.2011-12-14~156 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=e97a55810f4956f08a9738fa6a51dabdfece57c1;p=gostls13.git godoc:

 must not occur inside 

Fixes #2532 R=golang-dev, dr.volker.dobler, rsc CC=golang-dev https://golang.org/cl/5450115 --- diff --git a/lib/godoc/example.html b/lib/godoc/example.html index 7badbb6fad..7af943172b 100644 --- a/lib/godoc/example.html +++ b/lib/godoc/example.html @@ -5,10 +5,10 @@

▾ Example

Code:

-

{{.Code}}

+
{{.Code}}
{{if .Output}}

Output:

-

{{html .Output}}

+
{{html .Output}}
{{end}}
diff --git a/lib/godoc/package.html b/lib/godoc/package.html index 1286f6eff4..34ca3b629f 100644 --- a/lib/godoc/package.html +++ b/lib/godoc/package.html @@ -51,8 +51,8 @@ {{comment_html .Doc}} {{if $.IsPkg}} {{with .Filenames}} -

Package files

+

{{range .}} {{.|filename|html}} @@ -88,7 +88,7 @@ {{$tname_html := node_html .Type.Name $.FSet}}

type {{$tname_html}}

{{comment_html .Doc}} -

{{node_html .Decl $.FSet}}

+
{{node_html .Decl $.FSet}}
{{range .Consts}} {{comment_html .Doc}}
{{node_html .Decl $.FSet}}