Commit a56886c1 authored by Frédéric Buclin's avatar Frédéric Buclin

Bug 474766: The [details] string is duplicated when replying to a comment…

Bug 474766: The [details] string is duplicated when replying to a comment containing a link to an attachment r/a=mkanat
parent 476aa644
......@@ -231,7 +231,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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment