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 #1

Updated by Jean-Philippe Lang almost 17 years ago

  • Status changed from New to Resolved

Redcloth glyphs were totally disabled in r1113.
I've just done a quick test with the latest code, wiki links with dashes work as expected.

Actions #2

Updated by Jean-Philippe Lang almost 17 years ago

  • Status changed from Resolved to Closed
  • Resolution set to Fixed
Actions

Also available in: Atom PDF