rustwasm / wasm-bindgen

Facilitating high-level interactions between Wasm modules and JavaScript
https://rustwasm.github.io/docs/wasm-bindgen/
Apache License 2.0
7.75k stars 1.07k forks source link

Link for `HtmlCollection.namedItem` documentation isn't valid #2421

Open teymour-aldridge opened 3 years ago

teymour-aldridge commented 3 years ago

Describe the Bug

The link to the MDN webdocs for (HtmlCollection.namedItem)[https://docs.rs/web-sys/0.3.46/web_sys/struct.HtmlCollection.html#method.named_item] doesn't point to the correct location.

Steps to Reproduce

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

If applicable, add a link to a test case (as a zip file or link to a repository we can clone).

Expected Behavior

Should redirect to the correct page

Actual Behavior

Doesn't redirect correctly

Additional Context

alexcrichton commented 3 years ago

Thanks for the report! This is a known issue where we generate URLs without checking their validity. Unfortunately we don't know how best to fix this at this time.