ietf-tools / rfc2html

Convert text-format RFCs and Internet-Drafts to html
BSD 3-Clause "New" or "Revised" License
30 stars 23 forks source link

links for in-text "Section X ... RFC Y" references have wrong targets #38

Open chrislandis opened 5 months ago

chrislandis commented 5 months ago

This issue reports a datatracker issue #4543 in the relevant project.

The above linked datatracker issue uses RFC 8252 as an example of the problem. The opening paragraph (abstract) of RFC 7817 provides a more comprehensive example of how in-text references to "section X ... RFC Y" do not correctly render as hyperlinks:

This document describes the Transport Layer Security (TLS) server identity verification procedure for SMTP Submission, IMAP, POP, and ManageSieve clients. It replaces Section 2.4 (Server Identity Check) of RFC 2595 and updates Section 4.1 (Processing After the STARTTLS Command) of RFC 3207, Section 11.1 (STARTTLS Security Considerations) of RFC 3501, and Section 2.2.1 (Server Identity Check) of RFC 5804.

Here is what I'm seeing that is wrong: