Rudolf Adamkovič <rud...@adamkovic.org> writes: > This is a follow-up to my Git patch 4247798db, where I added support for > links in Org headings exported via Texinfo.
I think it is 6443c83bd1 :) > I found that links in node-level constructs break Texinfo HTML menus: > the inner (user-specific) link works but the outer (menu-specific) link > does not, rendering the menu item unusable. Ouch! Links in other > headings, specifically those exported as Texinfo list items, have no > such problem, and those are super-important to have. > > I updated the code so that all title and TOC links are sanitized > properly and everything works smoothly. > Please see the attached patch. Thanks! > - (list "* Heading 1" > - " ...." > - "* Heading 2 ([[* Heading 1][Heading 1]])" > - " ....") > + (list "* Chapter [[https://example.com][Example]]" > + "** Section [[https://example.com][Example]]" > + "*** Subsection [[https://example.com][Example]]" > + "**** Item [[https://example.com][Example]]") May you please keep the old test cases and add new cases as extra? I see no reason not to keep the old tests. -- Ihor Radchenko // yantar92, Org mode maintainer, Learn more about Org mode at <https://orgmode.org/>. Support Org development at <https://liberapay.com/org-mode>, or support my work at <https://liberapay.com/yantar92>