Project

General

Profile

Actions

Defect #23

closed

Issue and revision textile links in issue notes

Added by Jeffrey Jones almost 18 years ago. Updated almost 18 years ago.

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

0%

Estimated time:
Resolution:
Affected version:

Description

When creating issue and revision links they don't always appear to work in terms of being converted into automatic
links.

They will sometimes not work if you have immediately have a carriage return.

i.e.

Issue #19
More text

will not work but if you put a space (Or any other character) THEN a carriage return then it will work correctly. (underscore
represents a space)

Issue#19_
More text

On some issues it appeared to even when there wasn't a charracter before the carriage return, I can't account for that.

I have only seen it fail when it is immediately followed a carriage return, maybe some sort of Regexpt issue?

Actions #1

Updated by Jean-Philippe Lang almost 18 years ago

The only case when it fails for me is when #7777 is at the end
of the text (note of the line).

I've simplified the regexp and it should be more accurate:
/#(\d+)(?=\b)/
Fix has just been committed in the trunk

Tell me if it solves your problem.
Thanks

Actions #2

Updated by Jeffrey Jones almost 18 years ago

I have retested with new trunk export and have been unable
to break it. Looks like it is fixed.

Many thanks

Jeff

Actions #3

Updated by Jean-Philippe Lang almost 18 years ago

Thanks.

Actions

Also available in: Atom PDF