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

Minor bug in wml::des::navbar

wml::des::navbar contains the statement $hint = $txt if ($hint eq '');
which lets Netscape choke on the result of

#use wml::des::navbar
<navbar:define name=foo txtcol_normal="#000000">
<navbar:button id=foo url=foo.html img=foo.gif txt=foo>
<navbar:render name=foo>


JavaScript Error: http://.../test.html, line 1:

unterminated string literal.

self.status = '<font color=

I think the $txt cleanup should be moved into the $txtonly rendering
part and the $img cleanup into the else part of that statement.

See also the code mentioned in my other posting.

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