empty ALT text
Stephen Gildea <[email protected]> Fri, 19 Mar 2004 00:46:34 -0500
| Newsgroups | gmane.comp.tex.texinfo.pretest |
|---|---|
| Message-ID | <[email protected]> |
It seems that a change to the Texinfo language has crept into 4.6.90
that prevents me from creating an empty ALT attribute in an HTML IMG
tag.
In Texinfo 4.6, I could say this:
@image{logo,,, }
and get this:
<img src="logo.jpg" alt=" ">
In the current pretests (including the latest, 4.6.92), I get this
undesirable expansion:
<img src="logo.jpg" alt="&nbsp;">
What I really want is
<img src="logo.jpg" alt="">
although the " " version is close enough.
The language change is that the fourth argument used to be in HTML, but
now it is plain text. The fourth argument is used to generate HTML and
XML, so I think allowing "&" here makes more sense. And it gives me
the flexibility to create an (almost) empty ALT attribute.
I note with amusement all the ways Texinfo works hard to prevent me from
creating an empty ALT attribute. I tried including white space; Texinfo
cleans up white space. I tried a macro; Texinfo expands macros here. I
tried an HTML character entity; Texinfo expands HTML escapes.
< Stephen
_______________________________________________
Texinfo home page: http://www.gnu.org/software/texinfo/
[email protected]
http://ff0.org/mailman/listinfo/texinfo-pretest