Closed Bug 398769 Opened 17 years ago Closed 16 years ago

Multiple instances of the same header should not produce the same anchor.

Categories

(support.mozilla.org :: Knowledge Base Software, task)

task
Not set
normal

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: cilias, Unassigned)

Details

(Whiteboard: tiki_fixed)

Let's say you've got a couple of different section in an article. Each of them has subsections: Windows, Mac, and Linux. We end up with multiple anchors, named Windows, Mac, and Linux. There should be some way to make sure the anchor names are different; so the TOC works as expected.
Target Milestone: --- → 0.4
Candidate for the Tikifest in Toronto, according to Nelson.
Target Milestone: 0.4 → 0.5
I believe this is now fixed. For subsequent "Mac", they are automatically "Mac_2" and "Mac_3" respectively. Please close if verified.
Status: NEW → RESOLVED
Closed: 16 years ago
Resolution: --- → FIXED
Can use something harder to misinterpret? People may mistake the numbers in the URI, as having some significance. How about "Mac_" "Mac__".

Also, I'll have to keep an eye out for instances where this happens, which are not just listing OSes. SHOWFOR may eliminate the need for this bug.
I think this is fine, and _4 vs _5 is easier to detect than "_____" vs "____".
Status: RESOLVED → VERIFIED
Whiteboard: tiki_triage nelson
Whiteboard: tiki_triage nelson → tiki_fixed
You need to log in before you can comment on or make changes to this bug.