Open
Bug 663299
Opened 13 years ago
Updated 4 months ago
Include close-parenthesis ")" in auto-linkification if there is an open-parenthesis "(" inside of the link that isn't already closed
Categories
(Bugzilla :: User Interface, enhancement)
Bugzilla
User Interface
Tracking
()
NEW
People
(Reporter: BijuMailList, Unassigned)
References
Details
Attachments
(1 obsolete file)
Just noticed at bug 663292 comment 1 When we convert a text with URL to a link we intelligently stop linkifing URL at ")" character. And that is great... But I suggest we should not do this if there is already a not closed "(". That way we can keep the wiki URLs pretty.
Comment 1•13 years ago
|
||
Sure, I agree that would be great. If you can come up with a way to modify our regex to make that work and it doesn't break other things, we'd be happy to accept a patch. It seems like some fairly complex regex voodoo, though.
Updated•13 years ago
|
OS: Windows Vista → All
Hardware: x86 → All
Summary: Dont stop linkifing URL text at ")" if there is already a matching "(" not closed → Include close-parenthesis ")" in auto-linkification if there is an open-parenthesis "(" inside of the link that isn't already closed
what is RegExp currently used, or can you point me to the code at http://mxr.mozilla.org/bugzilla/source/
Comment 3•13 years ago
|
||
Sure, here you go: http://bzr.mozilla.org/bugzilla/trunk/annotate/head:/Bugzilla/Template.pm#L69
| Comment hidden (spam) |
Updated•4 months ago
|
Attachment #9384493 -
Attachment is obsolete: true
You need to log in
before you can comment on or make changes to this bug.
Description
•