[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <87h7agpkn4.fsf@meer.lwn.net>
Date: Thu, 06 Jan 2022 15:25:03 -0700
From: Jonathan Corbet <corbet@....net>
To: James Clark <james.clark@....com>, nfraprado@...tonmail.com,
n@...aprado.net, linux-doc@...r.kernel.org
Cc: mchehab+huawei@...nel.org, James Clark <james.clark@....com>,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH v2 1/1] docs: automarkup.py: Fix invalid HTML link
output and broken URI fragments
James Clark <james.clark@....com> writes:
> Since commit d18b01789ae5 ("docs: Add automatic cross-reference for
> documentation pages"), references that were already explicitly defined
> with "ref:" and referred to other pages with a path have been doubled.
> This is reported as the following error by Firefox:
[...]
> The fix is to check that nodes in the document to be modified are not
> already references. A reference is counted as any text that is a
> descendant of a reference type node. Only plain text should be converted
> to new references, otherwise the doubling occurs.
This seems like a good fix. Applied, thanks.
jon
Powered by blists - more mailing lists