Defect #11789

Edit section links broken with h5/h6 headings

Added by Stanislav German-Evtushenko about 5 years ago. Updated about 5 years ago.

Status:ClosedStart date:
Priority:NormalDue date:
Assignee:Jean-Philippe Lang% Done:

0%

Category:Wiki
Target version:2.0.4
Resolution:Fixed Affected version:1.4.4

Description

When I press "Edit this section" on "section h4.3" (that link http://demo.redmine.org/projects/test-wiki/wiki/Wiki/edit?section=4) it opens editing "h5. section h5.1".

It seems as wiki doesn't count h5 sections when show "Edit this section" but counts h5 sections when you click it to edit.

Affected versions: 1.4.4 and 2.0.3.


Related issues

Duplicated by Redmine - Defect #14752: h5 confuses wiki editor Closed

Associated revisions

Revision 10294
Added by Jean-Philippe Lang about 5 years ago

Parse any heading level (#11789).

History

#1 Updated by Etienne Massip about 5 years ago

Could you please make your project public and wiki editable to everyone?

#2 Updated by Stanislav German-Evtushenko about 5 years ago

Etienne Massip wrote:

Could you please make your project public and wiki editable to everyone?

I can't, that's a demo wiki. Please try this in any wiki:

h1. Wiki

h4. section h4.1

h4. section h4.2

h5. section h5.1

h5. section h5.2

h4. section h4.3

h4. section h4.4

#3 Updated by Etienne Massip about 5 years ago

  • Status changed from New to Confirmed
  • Target version set to Candidate for next minor release

Confirmed on trunk.

#4 Updated by Jean-Philippe Lang about 5 years ago

  • Target version changed from Candidate for next minor release to 2.0.4

#5 Updated by Jean-Philippe Lang about 5 years ago

  • Subject changed from Wiki: h5 unusual behaviour to Edit section links broken with h5/h6 headings
  • Status changed from Confirmed to Resolved
  • Assignee set to Jean-Philippe Lang
  • Target version changed from 2.0.4 to 1.4.5
  • Resolution set to Fixed

Fixed in r10294.

#6 Updated by Jean-Philippe Lang about 5 years ago

  • Status changed from Resolved to Closed
  • Target version changed from 1.4.5 to 2.0.4

Merged in 1.4-stable and 2.0-stable.

#7 Updated by Toshi MARUYAMA over 1 year ago

Also available in: Atom PDF