You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
The about.hbs file in this repo causes invalid HTML to be generated. Specifically, it causes cargo-about generate to create multiple elements with the same ID.
To Reproduce
Steps to reproduce the behavior:
cd into a clone of the cargo-about repo.
Run cargo run -- generate --output-file test.html about.hbs
Open test.html in a text editor and inspect the results. Notice how there’s multiple elements with id="Apache-2.0".
Expected behavior test.html should contain valid HTML. Specifically, it should not contain more than one element with the same ID.
When specified on HTML elements, the id attribute value must be unique amongst all the IDs in the element's tree and must contain at least one character.
The text was updated successfully, but these errors were encountered:
Describe the bug
The
about.hbs
file in this repo causes invalid HTML to be generated. Specifically, it causescargo-about generate
to create multiple elements with the same ID.To Reproduce
Steps to reproduce the behavior:
cd
into a clone of thecargo-about
repo.cargo run -- generate --output-file test.html about.hbs
test.html
in a text editor and inspect the results. Notice how there’s multiple elements withid="Apache-2.0"
.Expected behavior
test.html
should contain valid HTML. Specifically, it should not contain more than one element with the same ID.Screenshots
Device:
BrowserCargo version: 1.77.1Additional context
Here’s the part of the HTML Standard that forbids multiple identical IDs:
The text was updated successfully, but these errors were encountered: