bug-texinfo
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

References in section titles (invalid HTML generated)


From: Rudolf Adamkovič
Subject: References in section titles (invalid HTML generated)
Date: Thu, 22 Aug 2024 15:42:20 +0200

Hello there!

I would like to report a bug when exporting

  @node One
  @unnumbered One
  
  @dots{} content @dots{}
  
  @node One and two
  @unnumbered @ref{One} and two
  
  @dots{} content @dots{}

to HTML.

Bug (1) In the table of contents:

  Actual (nested links):

    <a id="toc-One-and-two-1" href="One-and-two.html">
      <a class="ref" href="One.html">
        One
      </a>
      and two
    </a>

  Expected (flattened links):

    <a id="toc-One-and-two-1" href="One-and-two.html">
      One and two
    </a>

Bug (2) In the navigation bar for One:

  Actual (nested links):

    <a href="One-and-two.html" accesskey="n" rel="next">
      <a class="ref" href="#One">
        One
      </a>
      and two
    </a>

  Expected (flattened links):

    <a href="One-and-two.html" accesskey="n" rel="next">
      One and two
    </a>

Alternatively, if references in titles cannot possibly be supported,
then Texinfo should warn about them, instead of generating invalid HTML.

Thank you for your time!

P.S. I am not a subscriber, so please CC me.

Rudy
-- 
"Be especially critical of any statement following the word
'obviously.'"  --- Anna Pell Wheeler, 1883-1966

Rudolf Adamkovič <rudolf@adamkovic.org> [he/him]
http://adamkovic.org



reply via email to

[Prev in Thread] Current Thread [Next in Thread]