Defect #20987

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

Added by Stefan Lindner over 2 years ago. Updated 17 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 about 1 month 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.

#4 Updated by Toshi MARUYAMA 17 days ago

yac yac wrote:

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.

Some redmine.org wiki is free editing.
I don't know where this changes comes from.
http://www.redmine.org/projects/redmine/wiki/RedmineTextFormatting/diff?utf8=%E2%9C%93&version=119&version_from=118&commit=View+differences

Also available in: Atom PDF