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

How can i tackle this input issue #206

Closed
JIANG-Wu-19 opened this issue Nov 14, 2023 · 3 comments
Closed

How can i tackle this input issue #206

JIANG-Wu-19 opened this issue Nov 14, 2023 · 3 comments
Labels
bug Something isn't working

Comments

@JIANG-Wu-19
Copy link

When I input my username "JIANG-Wu-19" , it goes wrong like this:

This page contains the following errors:
error on line 161 at column 28: EntityRef: expecting ';'
Below is a rendering of the page up to the first error.

The test url is github-readme-activity-graph.vercel.app/graph?username=JIANG-Wu-19
I also test the username "Liwu-di", everything is right.
Do two "-" in my username cause this problem? How can I tackle this issue?
Thank you!

@JIANG-Wu-19 JIANG-Wu-19 added the bug Something isn't working label Nov 14, 2023
Copy link

Hi @JIANG-Wu-19, thanks for opening this issue.

@LeonhardTissen
Copy link

Do two "-" in my username cause this problem? How can I tackle this issue?

It's actually the "&" symbol in your display name J&Ocean at the top of the SVG. In order to have an ampersand in the SVG, you need to use the code &. This is what that would look like encoded in the URL:

https://github-readme-activity-graph.vercel.app/graph?username=JIANG-Wu-19&custom_title=J%26amp;Ocean%27s%20Contribution%20Graph

I hope a solution to this can be found so usernames are properly encoded to work in the graph SVG.

@JIANG-Wu-19
Copy link
Author

thanks a lot

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants