]> granicus.if.org Git - docbook-dsssl/commitdiff
Remove whitespace before anchor ends too
authorNorman Walsh <ndw@nwalsh.com>
Thu, 14 Mar 2002 14:58:07 +0000 (14:58 +0000)
committerNorman Walsh <ndw@nwalsh.com>
Thu, 14 Mar 2002 14:58:07 +0000 (14:58 +0000)
cvstools/untidy

index 9a132f286dc59c261157fe1b846c7632bc2ce4d0..196d58a30d06a74cef079f100201ef7f8097d8ac 100755 (executable)
@@ -20,6 +20,7 @@ if ($content eq '') {
 }
 
 $content =~ s/(<a\s[^>]+>)\s+/$1/sg;
+$content =~ s/\s+(<\/a>)/$1/sg;
 
 open (F, ">$filename");
 print F $content;