From 435cf060b927b96d7806c9c3aadd15cb9db018a1 Mon Sep 17 00:00:00 2001 From: "lpsolit%gmail.com" <> Date: Thu, 1 Jan 2009 23:11:59 +0000 Subject: Bug 332995: Steps to Reproduce not removed from comment when user leaves default content (steps without blanks) - Patch by Teemu Mannermaa r/a=LpSolit --- template/en/default/bug/create/comment-guided.txt.tmpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/template/en/default/bug/create/comment-guided.txt.tmpl b/template/en/default/bug/create/comment-guided.txt.tmpl index 3ce756103..df04d8fb5 100644 --- a/template/en/default/bug/create/comment-guided.txt.tmpl +++ b/template/en/default/bug/create/comment-guided.txt.tmpl @@ -36,7 +36,7 @@ Build Identifier: [%+ cgi.param("buildid") %] Reproducible: [%+ cgi.param("reproducible") %] [% END %] -[% IF !(cgi.param("reproduce_steps").match('^1\.\s+2\.\s+3\.\s+$') || cgi.param("reproduce_steps").match('^\s*$')) %] +[% IF !(cgi.param("reproduce_steps").match('^1\.\s*2\.\s*3\.\s*$') || cgi.param("reproduce_steps").match('^\s*$')) %] Steps to Reproduce: [%+ cgi.param("reproduce_steps") %] [% END %] -- cgit v1.2.3-24-g4f1b