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

Re: bug in href or toc?

On Sun, Feb 10, 2002 at 11:19:07PM +0100, Werner Heuser wrote:
> Hi,
> this line in WML
> <h3><href url="http://www.fujitsu-siemens.de" name="Fujitsu">: Lifebook
> Biblo B-2130</h3>
> results in this HTML code
> <h3><a name="ToC4"><a href="http://www.fujitsu-siemens.de">Fujitsu</a>:
> Lifebook Biblo B-2130</a></h3>
> As you see there is one </a> to much. I probably shouldn't use links in
> headers,
> and have removed these construct. But just to let you know.

No it ain't a bug.
you obviously use wml::std::toc which creates a TableOfContent and adds
a <a name..> to all <hX>

IMHO wlm::std::toc is missing some features like excluding a <hX> from the
TOC (even though <protect> might do it) and an additional <nobr> style
(see my patch from last year).

So try <protect> if you really want no TOC


Thomas R. Koll - Totalverweigerer

http://www.TomK32.de - just a geek trying to change the world
http://www.sf.net/projects/mysecretdiary/ -- wanna code PHP ?

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