From 720db163b9814b294b163347d994e513b8771ae7 Mon Sep 17 00:00:00 2001 From: Byron Jones Date: Thu, 8 Dec 2011 14:17:21 +0800 Subject: Bug 707931: fix broken backport --- template/en/default/bug/comments.html.tmpl | 3 +++ template/en/default/bug/edit.html.tmpl | 33 ------------------------------ 2 files changed, 3 insertions(+), 33 deletions(-) (limited to 'template/en/default') diff --git a/template/en/default/bug/comments.html.tmpl b/template/en/default/bug/comments.html.tmpl index a6a2867bb..ea0b774c0 100644 --- a/template/en/default/bug/comments.html.tmpl +++ b/template/en/default/bug/comments.html.tmpl @@ -47,6 +47,9 @@ } [% END %] + /* Remove embedded links to attachment details */ + replytext = replytext.replace(/(attachment\s+\d+)(\s+\[[^\[]+\])+/gi, '$1'); + /*