-
Notifications
You must be signed in to change notification settings - Fork 17.8k
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: multiple invalid HTML #70730
Comments
Related Issues
(Emoji vote if this was helpful or unhelpful; more detailed feedback welcome in this discussion.) |
Thank you for your diligence. It looks like you have already done the hard work of finding and root causing these problems. Would you like to fix them? We would welcome a contribution fixing these errors. |
I don't see that you're on the Go team... |
@3052 I'm not sure what you mean, but I am on the Go team. |
When I look at https://github.com/findleyr I see two organizations listed: Go and Googlers. @3052 Do you not see that? I wonder if there is some GitHub setting that hides it in some cases. |
I only see Go listed and if I repopen the profile in a private window I see neither. |
Huh, if I use a Chrome incognito window I don't see any organizations for @findleyr, and for myself I see only the SWIG organization. I just edited my visibility for the golang organization, which I did from the organization page, and now I see myself listed in that organization. So it seems to be up to each person, or each organization, whether to publicize their organization membership. |
WOW that is really annoying - I am a member of two as well - but both were private by default - so I just fixed myself |
Thanks, I did not know that! I've made my Go membership public now. |
Hello, can I make a contribution to solve this issue? |
can i contribute? |
Hi @FuenRob and @Mahimachavalam009 we would welcome fixes for these issues. I think one CL will do, so @FuenRob since you asked first could you please confirm you will work on it? If not, no worries; @Mahimachavalam009 can contribute in that case. |
Yes @findleyr I want to contribute by solving this fix. Thanks. Should I assign the issue? |
@FuenRob I already assigned it to you :) |
Hi @findleyr I've uploaded the changes via Gerrit. How can I link the change to this issue? Here is the link to the change: https://go-review.googlesource.com/c/pkgsite/+/639075 Please, any problem or failure, do not hesitate to tell me to fix it. |
@FuenRob In repo's other than the main go repo, you should write
|
Change https://go.dev/cl/639075 mentions this issue: |
What is the URL of the page with the issue?
What is your user agent?
Firefox
Screenshot
What did you see happen?
first is the double close tag:
https://github.com/golang/pkgsite/blob/dc08416c8122836b0f06f5b3025699f37e3d53b9/static/shared/header/header.tmpl#L27-L50
then space is removed on both sides, leading to attributes with no separating space:
https://github.com/golang/pkgsite/blob/dc08416c8122836b0f06f5b3025699f37e3d53b9/static/frontend/unit/main/_meta.tmpl#L61-L69
and another example actually hard coded:
https://github.com/golang/pkgsite/blob/dc08416c8122836b0f06f5b3025699f37e3d53b9/static/shared/footer/footer.tmpl#L142
What did you expect to see?
valid HTML
The text was updated successfully, but these errors were encountered: