]> granicus.if.org Git - docbook-dsssl/commitdiff
Fix bug in addnamespace that wrongly deleted some
authorBob Stayton <bobs@sagehill.net>
Mon, 15 Dec 2008 18:17:53 +0000 (18:17 +0000)
committerBob Stayton <bobs@sagehill.net>
Mon, 15 Dec 2008 18:17:53 +0000 (18:17 +0000)
trailing whitespace in a string.

releasetools/xslns-build

index 369037c98687bccd9c3fc2d10199673037135aa5..803783320dc197a678a3da469f52eb7c1426c9ba 100755 (executable)
@@ -429,7 +429,7 @@ sub namespacefilter {
 
   my $newstring = '';
 
-  while ( $string =~ /^(.*?)($dbname)(.*?$)/s ) {
+  while ( $string =~ /^(.*?)($dbname)(.*$)/s ) {
 
     my $pre = $1;
     my $name = $2;