Skip to content

Incorrect link created in table of contents when last word of section title is "section" #73

Description

@jennifer-richards

(This is a minor regression introduced by #51. It's not present until that is merged/released/deployed.)

If the last word of a section in the table of contents is "section", an incorrect hyperlink is created to "Section <pagenum>" where <pagenum> is the page number of that section. This can be seen in RFC1002 (https://datatracker.ietf.org/doc/html/rfc1002) for section 4.2.1.2.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions