From 7374a09fcc20b83847803a10e57fbb49ae3b7349 Mon Sep 17 00:00:00 2001 From: Agniva De Sarker Date: Sun, 28 Jan 2018 20:22:12 +0530 Subject: [PATCH] godoc: move package example section The example_html was being rendered outside the ".expanded" div which did not hide it when the parent Overview div was being hidden. Moving it inside the div so that the behavior is consistent Fixes golang/go#23590 Change-Id: I75ee0af1c4074e02629b84ce366b34711e6d823b Reviewed-on: https://go-review.googlesource.com/90396 Run-TryBot: Andrew Bonventre TryBot-Result: Gobot Gobot Reviewed-by: Andrew Bonventre --- godoc/static/package.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/godoc/static/package.html b/godoc/static/package.html index 6dc88e69..9c81890a 100644 --- a/godoc/static/package.html +++ b/godoc/static/package.html @@ -43,9 +43,9 @@

Overview ▾

{{comment_html .Doc}} + {{example_html $ ""}}
- {{example_html $ ""}}