Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upDuplicate ID "outbound-link-title" violates HTML5 #2627
Comments
|
Thank you for bringing that up, @katelynsills. I just found out about VuePress today and the first thing I did after a Google will not like that at all. |
|
I can take that. |
Let me know if that is ok, otherwise I can use the following link which suggest a solution for such problem |
|
i've added a PR removing both:
I will add another PR later with random id solution |
|
the current PR doesn't remove any attribute but rather adds a random id to the id attributes |
|
The ideal would be to add |
|
@adico1 |
|
ty for the comment, actually I think its the best solution because its also scalable. |




Bug report
Steps to reproduce
For a concrete example, please see this PR which attempts to upgrade to Vuepress 1.6.0 and uses a Github Action for HTML5 Validation.
What is expected?
Vuepress should be HTML5 compliant.
What is actually happening?
Duplicate IDs per page are being produced
Other relevant information
8d10119 Seems to be the commit that introduced this problem.
npx vuepress infoin my VuePress project:Environment Info: System: OS: macOS 10.15.6 CPU: (12) x64 Intel(R) Core(TM) i7-9750H CPU @ 2.60GHz Binaries: Node: 14.11.0 - ~/.nvm/versions/node/v14.11.0/bin/node Yarn: 1.22.5 - /usr/local/bin/yarn npm: 6.14.8 - ~/.nvm/versions/node/v14.11.0/bin/npm Browsers: Chrome: 85.0.4183.121 Edge: Not Found Firefox: Not Found Safari: 14.0 npmPackages: @vuepress/core: 1.6.0 @vuepress/theme-default: 1.6.0 vuepress: ^1.6.0 => 1.6.0 npmGlobalPackages: vuepress: Not Found