emacs-devel
[Top][All Lists]
Advanced

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

Re: Have you all gone crazy? Was: On being web-friendly and why info mus


From: David Kastrup
Subject: Re: Have you all gone crazy? Was: On being web-friendly and why info must die
Date: Mon, 22 Dec 2014 09:58:32 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux)

Yuri Khan <address@hidden> writes:

> On Sun, Dec 21, 2014 at 11:57 PM, David Kastrup <address@hidden> wrote:
>
>> Well, the HTML looks like
>>
>> <a href="79/lily-83620d4b.ly"><p>&lsquo;<tt>accidental-ancient.ly</tt>&rsquo;
>> </a>    <p>
>>  <a href="79/lily-83620d4b.ly">
>>   <img align="middle"
>>        border="0"
>>        src="79/lily-83620d4b.png"
>>        alt="[image of music]">
>>  </a>
>> </p></p>
>
> What? That isn’t even valid HTML.
>
> In this snippet, I count 2 instances of improper tag nesting, 1 use of
> obsolete element, 2 uses of obsolete attributes and 1 unhelpful alt
> text.

Well, apart from the unhelpful alt text (which is not easy to make more
helpful, actually, given the way this is generated), that would be the
responsibility of texi2html.  Probably worth reporting to the Texinfo
list and/or proposing a fix.  Now <p> does not need to nest in HTML, and
I can't vouch definitely that the second </p> might not belong to some
starting <p> I have not cut&pasted.

But it's not really pretty and could probably be fixed by just removing
the generation of any </p>.

-- 
David Kastrup



reply via email to

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