Project

General

Profile

Actions

Defect #20987

closed

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

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

Added by Stefan Lindner about 11 years ago. Updated almost 9 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Text formatting
Target version:
-
Resolution:
Affected version:

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.

Updated by Toshi MARUYAMA about 11 years ago Actions #1

  • Category changed from Wiki to Text formatting

Updated by yac yac almost 9 years ago Actions #3

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.

Updated by Toshi MARUYAMA almost 9 years ago Actions #4

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

Actions

Also available in: PDF Atom