Project

General

Profile

Actions

Feature #11494

closed

Don't turn #nnn with leading zeros into links

Added by Alex Shulgin over 12 years ago. Updated over 12 years ago.

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

0%

Estimated time:
Resolution:
Fixed

Description

Sometimes a user would post an issue containing something like
"#01234" in the description/update. If there happen to be an issue
with that number (and it is visible by the current user, which is
always true for site admin,) the text would be converted to a link
"#1234" w/o the leading zero when rendering the issue on the web.
This was a problem when a user didn't mean to refer to an issue
numbered 1234, but was using it in some other environment-specific
context.


Files

Actions #1

Updated by Jean-Philippe Lang over 12 years ago

Maybe a better option is to not display it as a link since it's not the exact issue id?

Actions #2

Updated by Alex Shulgin over 12 years ago

Jean-Philippe Lang wrote:

Maybe a better option is to not display it as a link since it's not the exact issue id?

Well, I don't see why not, indeed. :-)

Actions #3

Updated by Jean-Philippe Lang over 12 years ago

  • Tracker changed from Patch to Feature
  • Subject changed from Preserve leading zeros in #nnn issue links to Don't turn #nnn with leading zeros into links
  • Status changed from New to Closed
  • Target version set to 2.1.0
  • Resolution set to Fixed

Committed in r10077.

Actions

Also available in: Atom PDF