Closed Bug 864631 Opened 11 years ago Closed 11 years ago

Bug link mark-up is too greedy.

Categories

(Bugzilla :: User Interface, defect)

defect
Not set
trivial

Tracking

()

RESOLVED DUPLICATE of bug 105865

People

(Reporter: mail, Assigned: mail)

References

Details

Attachments

(1 file)

Description of problem:
When word bug is detected the search for following id is too greedy and can spread across new line.

Version-Release number of selected component (if applicable):
version 4.2.5-7.1

How reproducible:
always

Steps to Reproduce:
1. Type 'bug' and have number at the beginning of the new line, e.g. bug
2. see how is the link spread across the lines
3.
  
Actual results:
bug 2 detected

Expected results:
bug was just a word, link needed

Additional info:
Attached patch v1 patchSplinter Review
Attachment #740637 - Flags: review?(LpSolit)
Assignee: ui → sgreen
(In reply to Simon Green from comment #0)

1) Didn't you want to say: no link needed ? (see example in "see also" url)
> Expected results:
> bug was just a word, link needed

2) on bmo, the example doesn't work as in the "see also" url.
This is about autolinkification
Duplicate of Bug 105865 ?
Anyhow related to Bug 514703 ?
(In reply to bigstijn from comment #2)
> 2) on bmo, the example doesn't work as in the "see also" url.

this is because there isn't a bug 2 here.

nice find, this is a duplicate; marking as such.
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → DUPLICATE
Comment on attachment 740637 [details] [diff] [review]
v1 patch

This won't work for old comments which have already been wrapped by the server.
Attachment #740637 - Flags: review?(LpSolit) → review-
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: