back in 9d9aed39 (use <a id=""> instead of name, as name is not HTML5, 2023-06-01) we switched everything to id= but overlooked that id= actually gets redacted by GitLab's sanitizer. With this, we should be able to get the anchors through the filter even if it generates non-conformant HTML5.