We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
First line is not indented, every other line is. A couple examples:
https://golang.org/pkg/go/printer/#example_Fprint https://golang.org/pkg/archive/zip/#example_Reader
note the the actual code (in the source file) is correctly indented.
The text was updated successfully, but these errors were encountered:
It looks like the tip is working correctly and there has been a line trims the extra whitespace in the pre block at https://github.com/golang/tools/blame/master/godoc/godoc.go#L463.
@broady, are we running an old version of godoc on the website?
Sorry, something went wrong.
Nope, I deployed it yesterday from release-branch.go1.7
release-branch.go1.7
Hi there. I see this bug still expressed on golang.org but not on godoc.org:
https://godoc.org/go/printer#ex-Fprint
(I had naïvely assumed they used the same code to generate the docs and just differed in the stylesheets, but it seems that's not the case.)
Mmh, I honestly don't remember if godoc.org was affected when I opened this issue; I focused on golang.org because that's where I saw the issue first.
This will be fixed when Go 1.8 rolls out to golang.org. (~1 March)
No branches or pull requests
First line is not indented, every other line is. A couple examples:
https://golang.org/pkg/go/printer/#example_Fprint
https://golang.org/pkg/archive/zip/#example_Reader
note the the actual code (in the source file) is correctly indented.
The text was updated successfully, but these errors were encountered: