Project

General

Profile

Actions

Defect #645

closed

Problem with "-" in link name

Added by Mario Moreira almost 17 years ago. Updated almost 17 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Wiki
Target version:
-
Start date:
2008-02-12
Due date:
% Done:

0%

Estimated time:
Resolution:
Fixed
Affected version:

Description

Using version 0.5.0 we had no problems creating link in the wiki with the "-" char in the middle and surounded by spaces, like "ABC - XXY". This would create a link to a page ABC_-_XXY.

With version 0.6.3, the "-" is changed by redcloth into – (longer dash), and then all the links to these pages are gone.

As a quick hack, i fixed this by editing lib/redcloth.rb, line 412, and commented that line:

#[ /\s-\s/, ' – ' ], # en dash

Perhaps this is an issue with redcloth, but it affects redmine.

Actions

Also available in: Atom PDF