Project

General

Profile

Actions

Defect #20987

closed

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

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

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Text formatting
Target version:
-
Start date:
Due date:
% Done:

0%

Estimated time:
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.

Actions #1

Updated by Toshi MARUYAMA about 9 years ago

  • Category changed from Wiki to Text formatting
Actions #3

Updated by yac yac almost 7 years 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.

Actions #4

Updated by Toshi MARUYAMA almost 7 years 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

Actions

Also available in: Atom PDF