Feature #11494
Don't turn #nnn with leading zeros into links
| Status: | Closed | Start date: | ||
|---|---|---|---|---|
| Priority: | Normal | Due date: | ||
| Assignee: | - | % Done: | 0% | |
| Category: | Text formatting | |||
| Target version: | 2.1.0 | |||
| 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.
Associated revisions
Don't turn #nnn with leading zeros into link (#11494).
History
#1 Updated by Jean-Philippe Lang 11 months ago
Maybe a better option is to not display it as a link since it's not the exact issue id?
#2 Updated by Alex Shulgin 11 months 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. :-)
#3 Updated by Jean-Philippe Lang 11 months 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.
