Defect #6905

Specific heading-content breaks CSS

Added by Mischa The Evil about 7 years ago. Updated over 6 years ago.

Status:ClosedStart date:2010-11-16
Priority:NormalDue date:
Assignee:-% Done:

0%

Category:UI
Target version:1.2.0
Resolution:Fixed Affected version:

Description

The following wiki-code

h1. Test

h2. heading

h2. header

h2. regular

h1. header

h2. admin-menu

h2. quick-search

h2. main

breaks the CSS for the elements due to the fact that the heading-id is taken from the heading-content.
At first I thought it was a side-effect of the recent TOC-changes (r4376, r4377 and r4379) but after migrating back to trunk@r4264 I noticed the actual cause of the issue.

Here comes the output:


Test

heading

header

regular

header

admin-menu

quick-search

main

Associated revisions

Revision 5135
Added by Jean-Philippe Lang over 6 years ago

Use names instead of ids for wiki anchors (#6905).

History

#1 Updated by Etienne Massip over 6 years ago

  • Target version set to Candidate for next minor release

#2 Updated by Jean-Philippe Lang over 6 years ago

  • Status changed from New to Closed
  • Target version changed from Candidate for next minor release to 1.2.0
  • Resolution set to Fixed

Fixed in r5135. Anchors are now created with named <a> elements to prevent clashes with layout ids.

Also available in: Atom PDF