From e97a55810f4956f08a9738fa6a51dabdfece57c1 Mon Sep 17 00:00:00 2001 From: Olivier Duperray Date: Wed, 7 Dec 2011 15:00:38 -0500 Subject: [PATCH] godoc:
 must not occur inside 

Fixes #2532 R=golang-dev, dr.volker.dobler, rsc CC=golang-dev https://golang.org/cl/5450115 --- lib/godoc/example.html | 4 ++-- lib/godoc/package.html | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/godoc/example.html b/lib/godoc/example.html index 7badbb6fad5..7af943172b4 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 1286f6eff41..34ca3b629f8 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}}