Skip to content
New issue

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

x/pkgsite: Invalid content of an example that contains a block comment #56762

Open
pellared opened this issue Nov 16, 2022 · 1 comment
Open
Labels
NeedsInvestigation Someone must examine and confirm this is a valid issue and not a duplicate of an existing one. pkgsite

Comments

@pellared
Copy link

pellared commented Nov 16, 2022

What is the URL of the page with the issue?

https://pkg.go.dev/github.com/goyek/goyek/v2#example-package

What is your user agent?

Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/107.0.0.0 Safari/537.36

Screenshot

image

image

What did you do?

I have an example test like this:

https://github.com/goyek/goyek/blob/v2.0.0-rc.11/example_test.go

What did you expect to see?

Proper content taken from the example.

What did you see instead?

The example has a strange ending. The */ is duplicated together with some other symbols.

@gopherbot gopherbot added this to the Unreleased milestone Nov 16, 2022
@suzmue suzmue modified the milestones: Unreleased, pkgsite/later Nov 17, 2022
@jamalc jamalc added the NeedsInvestigation Someone must examine and confirm this is a valid issue and not a duplicate of an existing one. label Nov 18, 2022
@enstenr
Copy link

enstenr commented Jan 7, 2023

I can also see that extra
closing comment symbol at tail end.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
NeedsInvestigation Someone must examine and confirm this is a valid issue and not a duplicate of an existing one. pkgsite
Projects
None yet
Development

No branches or pull requests

5 participants