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

Small bug in wml::des::navbar



Hi,

There seems to be a small bug in wml (I use 1.6.8, but I found no mention
in the changelog).

If you check a wml-generated Website with using http://validator.w3.org/,
it reports an error in the pictures of the navigation-bar: an unknown
attribute "name" in the image-tag - for example test the wml-Homepage
(there are other errors too):
http://validator.w3.org/check?uri=http%3A%2F%2Fwww.engelschall.com%2Fsw%2Fwml%2F

Probably the following patch against wml-1.7.2/wml_include/des/navbar.src
can fix the problem (but I have not tested it really good).

531c531
<                       '<img name="'.$nb.'_'.$id.'" src="'.$img[1].'" alt="'.$alt.'" border=0>' .
---
>                       '<img src="'.$img[1].'" alt="'.$alt.'" border=0>' .
546c546
<                       '<img name="'.$nb.'_'.$id.'" src="'.$img[0].'" alt="'.$alt.'" border=0>' .
---
>                       '<img src="'.$img[0].'" alt="'.$alt.'" border=0>' .


Bye, Wolfgang

P.S: Does anyone now maintain RPM-Packages for wml? If not (I just found
wml-1.6.8-RPMs on filewatcher.org), I can try to build some.




______________________________________________________________________
Website META Language (WML)                www.engelschall.com/sw/wml/
Official Support Mailing List                   sw-wml@engelschall.com
Automated List Manager                       majordomo@engelschall.com