bug-texinfo
[Top][All Lists]
Advanced

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

Re: References in section titles (invalid HTML generated)


From: Patrice Dumas
Subject: Re: References in section titles (invalid HTML generated)
Date: Fri, 23 Aug 2024 23:19:05 +0200

On Thu, Aug 22, 2024 at 04:18:24PM +0100, Gavin Smith wrote:
> On Thu, Aug 22, 2024 at 03:42:20PM +0200, Rudolf Adamkovič wrote:
> > Alternatively, if references in titles cannot possibly be supported,
> > then Texinfo should warn about them, instead of generating invalid HTML.
> 
> References inside section headings was discussed before and it seemed
> that we were going to allow this nesting:
> 
> https://lists.gnu.org/archive/html/bug-texinfo/2023-02/msg00006.html
> 
> The incorrect HTML output is definitely a bug though.

Some context seems to be missing, but some Texinfo constructs
necessarily lead to invalid HTML, as HTML forbids nested <a>, while it
may be the natural conversion.  My check with firefox showed that this
construct was correctly rendered.

There is, for example @url in @xref, but also, if I recall well, @*ref
in @section and similar.

-- 
Pat



reply via email to

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