Opened 7 months ago

Last modified 6 months ago

#646 accepted defect

Respect --(id)-base-url options for section links

Reported by: martin.thomson@gmail.com Owned by:
Priority: medium Milestone:
Component: Version_3_cli_html Version: 3.x.y
Keywords: Cc:

Description

I currently use --id-base-url and --rfc-base-url options to ensure that references to drafts point to something other than tools.ietf.org. (I use https://datatracker.ietf.org/doc/html for both.)

This is a useful option, but xml2rfc does not respect this when generating references to sections. Thus, when I include <xref target="SOME-DRAFT" section="4.3"/>, the HTML contains a link that points to tools.ietf.org as follows: <a href="https://tools.ietf.org/html/draft-foo#section-4.3">Section 4.3</a> of [<a ...>SOME-DRAFT</a>].

As the string is in configuration and can be directly substituted, this seems fairly straightforward to fix.

Change History (1)

comment:1 Changed 6 months ago by rjsparks@nostrum.com

  • Status changed from new to accepted

See also #644

Note: See TracTickets for help on using tickets.