cmd/doc: Blank lines inserted into doc output in place of "directive" lines #59529
Labels
NeedsInvestigation
Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
Milestone
xref #56592
What version of Go are you using (
go version
)?Does this issue reproduce with the latest release?
This tests a change made on tip.
What operating system and processor architecture are you using (
go env
)?NA
What did you do?
Given this file:
go 1.20
go doc
shows:Note the directive line is present.
gotip doc
says:The directive is gone (yay) but there's now a blank line. @ianlancetaylor explains it in #56592 (comment) and acknowledges that it is imperfect (but better than before).
The text was updated successfully, but these errors were encountered: