Defect #23

Issue and revision textile links in issue notes

Added by Jeffrey Jones over 12 years ago. Updated over 12 years ago.

Status:ClosedStart date:
Priority:NormalDue date:
Assignee:-% Done:

0%

Category:-
Target version:-
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?

History

#1 Updated by Jean-Philippe Lang over 12 years ago

Thanks.

#2 Updated by Jeffrey Jones over 12 years ago

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

Many thanks

Jeff

#3 Updated by Jean-Philippe Lang over 12 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

Also available in: Atom PDF