Adding [PATCH] for the tracker.

Michael Korat <[email protected]> writes:

> I have attached a proposal for a bugfix for this issue:
>
> Currently, when self-linking headlines are created, the pre-processed
> text may already contain html links generated through radio targets
> which results in the creation of a link within a link. By using the
> method `org-html--format-toc-headline' instead of `format', these
> links will be stripped out.
>
> On 8/11/2026 10:16 PM, Michael Korat wrote:
>> Hi,
>>
>> is it possible to configure radio targets/radio links in a way that
>> text in headlines is not considered during the identification of
>> radio links?
>>
>> I have the following use case:
>>
>> I am writing a document in org-mode which I am exporting to HTML. I
>> am using radio-targets to write a glossary and the
>> org-html-self-link-headlines option, so that I can easily link to
>> individual chapters on the resulting web page. Unfortunately,
>> self-links and radio-links clash, and headlines that contain a
>> keyword from my radio-targets will use the radio-links instead of
>> the self-links.
>>
>> Kind regards,
>>
>> Michael
>>
>>
>>
>>

--
Paul

Reply via email to