rfc2html icon indicating copy to clipboard operation
rfc2html copied to clipboard

broken links for "Appendix [x]:" in RFC output files

Open alicerusso opened this issue 9 months ago • 0 comments

Apparently missing id="appendix-A" even though links to it are present. Examples below.

Perhaps the colon is the tripping point when parsing the text input (e.g., "Appendix A: Foo"). Based on the examples below, the id attribute exists for cases of "Appendix A[period]" but not "Appendix A[colon]".

A) link does not work as expected for "Appendix A:" -- missing id on the appendix titles. https://www.rfc-editor.org/rfc/rfc4291#appendix-A https://www.rfc-editor.org/rfc/rfc4503#appendix-A https://www.rfc-editor.org/rfc/rfc4861#appendix-A https://www.rfc-editor.org/rfc/rfc5072#appendix-A https://www.rfc-editor.org/rfc/rfc6482#appendix-A

B) link works as expected for "Appendix A." https://www.rfc-editor.org/rfc/rfc4475#appendix-A https://www.rfc-editor.org/rfc/rfc5850#appendix-A https://www.rfc-editor.org/rfc/rfc6310#appendix-A https://www.rfc-editor.org/rfc/rfc7515#appendix-A

C) FWIW, the same list as (A) - issue also on the datatracker pages. https://datatracker.ietf.org/doc/html/rfc4291#appendix-A https://datatracker.ietf.org/doc/html/rfc4503#appendix-A https://datatracker.ietf.org/doc/html/rfc4861#appendix-A https://datatracker.ietf.org/doc/html/rfc5072#appendix-A https://datatracker.ietf.org/doc/html/rfc6482#appendix-A

alicerusso avatar May 06 '24 20:05 alicerusso