Item9187: Manually generated and TOC generated anchor targets interfere

pencil
Priority: Urgent
Current State: Closed
Released In: 1.1.0
Target Release: minor
Applies To: Engine
Component:
Branches:
Reported By: CrawfordCurrie
Waiting For:
Last Change By: CrawfordCurrie
If you have a manually entered anchor target which is duplicated in a heading, you get interference. Testcase:

#ThisHeading
This heading anchor

#ThatHeading
That heading anchor

---+ ThatHeading
---+ ThisHeading

%TOC%

<a href='#ThisHeading'>Link</a> to this heading anchor

<a href='#ThatHeading'>Link</a> to that heading anchor

If you put that in a topic, the non-TOC links jump to the TOC, and there are duplicate name= targets in the HTML.

Works OK on Release01x00

-- CrawfordCurrie - 23 Jun 2010

Fixed.

-- CrawfordCurrie - 23 Jun 2010

 

ItemTemplate edit

Summary Manually generated and TOC generated anchor targets interfere
ReportedBy CrawfordCurrie
Codebase trunk
SVN Range
AppliesTo Engine
Component
Priority Urgent
CurrentState Closed
WaitingFor
Checkins distro:c7c1f281eaca
TargetRelease minor
ReleasedIn 1.1.0
Topic revision: r2 - 23 Jun 2010, CrawfordCurrie
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