chiark / gitweb /
doctests: Fix newline handling in changequote mode section
[subdirmk.git] / tests / filter / extract-doctest
index 28dee5e..1bcd473 100755 (executable)
@@ -129,9 +129,9 @@ sub writeout ($) {
                  '','','', 'normal',
                 sub { !$_[0]{CQ} } );
     write_permode($dir_prefix,
-                 "&:changequote NEWQUOTE",
-                 "NEWQUOTE:changequote &",
-                 "\n",
+                 "&:changequote NEWQUOTE\n",
+                 "NEWQUOTE:changequote &\n",
+                 "",
                  'changequote',
                  sub { $_[0]{CQ} } );
     oh "# doctest ends\n";