cross
New Foswiki release 2.1.6 is available with important security fixes.
Sourceforge foswiki email lists being discontinued. Subscribe to the new Foswiki announce and discuss lists at MailingLists
You are here: Foswiki>Tasks Web>Item10846 (17 Dec 2011, GeorgeClark)Edit Attach

Item10846: don't duplicate id attributes in TOC

pencil
Priority: Normal
Current State: Closed
Released In: 1.1.4
Target Release: patch
Applies To: Engine
Component: TOC
Branches:
Reported By: MichaelDaum
Waiting For:
Last Change By: GeorgeClark
While copying headlines from the page to the %TOC, HTML markup may contain ID attributes. These must be unique in all of the page. Thats even more important as <a name="foo"></a> is deprecated in HTML5 in favor of using IDs for anchor targets like in <a id="foo" href="...">headline</a>

-- MichaelDaum - 06 Jun 2011

 

ItemTemplate edit

Summary don't duplicate id attributes in TOC
ReportedBy MichaelDaum
Codebase 1.1.3, trunk
SVN Range
AppliesTo Engine
Component TOC
Priority Normal
CurrentState Closed
WaitingFor
Checkins distro:f0c228c9b869 distro:2e20f8cf7f6c
TargetRelease patch
ReleasedIn 1.1.4
Topic revision: r4 - 17 Dec 2011, GeorgeClark - This page was cached on 22 Jun 2018 - 00:36.

The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. See Copyright Statement. Creative Commons License    Legal Imprint    Privacy Policy