Rollup merge of #53094 - GuillaumeGomez:automatic-expand, r=nrc
Rollup merge of #53094 - GuillaumeGomez:automatic-expand, r=nrc

Automatically expand section if url id point to one of its component

Fixes #52517.

r? @nrc

graydon/rust,GBGamer/rust,graydon/rust,graydon/rust,aidancully/rust,aidancully/rust,GBGamer/rust,GBGamer/rust,aidancully/rust,graydon/rust,GBGamer/rust,aidancully/rust,GBGamer/rust,GBGamer/rust,graydon/rust,aidancully/rust,graydon/rust,GBGamer/rust,aidancully/rust,GBGamer/rust