incubator-ooo-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From j...@apache.org
Subject svn commit: r1142865 - /incubator/ooo/site/trunk/lib/view.pm
Date Tue, 05 Jul 2011 01:13:44 GMT
Author: joes
Date: Tue Jul  5 01:13:44 2011
New Revision: 1142865

URL: http://svn.apache.org/viewvc?rev=1142865&view=rev
Log:
allow embedded spaces

Modified:
    incubator/ooo/site/trunk/lib/view.pm

Modified: incubator/ooo/site/trunk/lib/view.pm
URL: http://svn.apache.org/viewvc/incubator/ooo/site/trunk/lib/view.pm?rev=1142865&r1=1142864&r2=1142865&view=diff
==============================================================================
--- incubator/ooo/site/trunk/lib/view.pm (original)
+++ incubator/ooo/site/trunk/lib/view.pm Tue Jul  5 01:13:44 2011
@@ -178,10 +178,10 @@ sub sort_tables {
     my @out;
     while (defined(local $_ = shift @orig))  {
         push @out, $_;
-        /^(\|[:v^-]+)+\|$/ or next;
+        /^(\|[ :v^-]+)+\|$/ or next;
         my($col, $direction, $cur);
         $cur = 0;
-        while (/\|([:v^-]+)/g) {
+        while (/\|([ :v^-]+)/g) {
             my $data = $1;
             if ($data =~ tr/v/v/) {
                 $col = $cur;



Mime
View raw message