Putting 4.2.0 on top of 4.0.17
[usit-rt.git] / bin / rt
diff --git a/bin/rt b/bin/rt
index a6df962..d5a1161 100755 (executable)
--- a/bin/rt
+++ b/bin/rt
@@ -701,7 +701,9 @@ EDIT:
             # If we submitted a bad form, we'll give the user a chance
             # to correct it and resubmit.
             if ($edit || (!$input && !$cl)) {
-                $text = $r->content;
+                my $content = $r->content . "\n";
+                $content =~ s/^(?!#)/#     /mg;
+                $text = $content . $text;
                 $synerr = 1;
                 goto EDIT;
             }