Bug 474766: The [details] string is duplicated when replying to a comment containing a link to an attachment
r/a=mkanat git-svn-id: svn://10.0.0.236/branches/BUGZILLA-4_0-BRANCH@261524 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
parent
c23304ec28
commit
9e4f5b4a62
@ -1 +1 @@
|
||||
7474
|
||||
7475
|
||||
@ -226,7 +226,7 @@ sub quoteUrls {
|
||||
~<a href=\"mailto:$2\">$1$2</a>~igx;
|
||||
|
||||
# attachment links
|
||||
$text =~ s~\b(attachment\s*\#?\s*(\d+))
|
||||
$text =~ s~\b(attachment\s*\#?\s*(\d+)(?:\s+\[details\])?)
|
||||
~($things[$count++] = get_attachment_link($2, $1)) &&
|
||||
("\0\0" . ($count-1) . "\0\0")
|
||||
~egmxi;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user