Defect #23
closedIssue and revision textile links in issue notes
0%
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?
Updated by Jean-Philippe Lang over 17 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
Updated by Jeffrey Jones over 17 years ago
I have retested with new trunk export and have been unable
to break it. Looks like it is fixed.
Many thanks
Jeff