Defect #20987

"h3(#my_anchor). My title" does not work

Added by Stefan Lindner about 2 years ago. Updated 10 days ago.

Status:ClosedStart date:
Priority:NormalDue date:
Assignee:-% Done:

0%

Category:Text formatting
Target version:-
Resolution: Affected version:3.1.1

Description

The wiki for "" at http://www.redmine.org/projects/redmine/wiki/RedmineTextFormatting#Headings says:

Redmine assigns an anchor to each of those headings thus you can link to them with "#Heading", "#Subheading" and so forth.
You can add another anchor to a title : h3(#my_anchor). My title

But this leads to

<h3 id="my_anchor">My title<a href="#My_title">...</a>

and not to

<h3>My title<a href="#my_anchor">...</a>

It generates an id property not a link anchor.

History

#1 Updated by Toshi MARUYAMA about 2 years ago

  • Category changed from Wiki to Text formatting

#3 Updated by yac yac 10 days ago

I can't find this change in changelog or issues to explain why this change was made and how to transion to the new headings.

I have users with extensive documentation in the wiki pages using this kind of explicit anchor. Are they supposed to go manually rewrite each of those links or was this supposed to be handled during rake db:migrate or something? We are currently running redmine 3.2.7.

Also available in: Atom PDF