You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@openoffice.apache.org by jo...@apache.org on 2011/07/05 03:13:44 UTC
svn commit: r1142865 - /incubator/ooo/site/trunk/lib/view.pm
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;