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

Links in headlines and wml::debian::toc (was: Re: Bug#159691: Patch for support and releases/stable/errata )



On Fri, Apr 18, 2003 at 05:41:14PM +0200, Frank Lichtenheld wrote:
> On Fri, Apr 18, 2003 at 08:12:12AM -0700, Matt Kraai wrote:
> > On Fri, Apr 18, 2003 at 04:43:15PM +0200, Frank Lichtenheld wrote:
> > > I've prepared a patch for solving bug
> > > #159691: put a table of contents into the errata page; link the page
> > > more 
> > > 
> > > Review welcomed
> > 
> > Looks good.  How about converting the support page as well?
> 
> The links in some headlines generate nested links in the toc.
> Will have to check if I can resolve that.

Problem:
<toc-add-entry name="bts"><a href="Bugs/">BTS</a></toc-add-entry>

will generate toc entry:

<li><a href="#bts"><a href="Bugs/">BTS</a></a></li>

suggested fix:
Add a new href attribute so that
<toc-add-entry name="bts" href="Bugs/">BTS</toc-add-entry>

will generate
<li><a href="#bts">BTS</a></li>
and
<h2><a name="bts" href="Bugs/">BTS</a></h2>

patch attached. Shout "NO" if you find this way to hacked.

Frank

-- 
*** Frank Lichtenheld <frank@lichtenheld.de> ***
          *** http://www.djpig.de/ ***
see also: - http://www.usta.de/
          - http://fachschaft.physik.uni-karlsruhe.de/



Reply to: