Fix bug 868957
authorAntoine Musso <hashar@users.mediawiki.org>
Sun, 18 Apr 2004 17:26:47 +0000 (17:26 +0000)
committerAntoine Musso <hashar@users.mediawiki.org>
Sun, 18 Apr 2004 17:26:47 +0000 (17:26 +0000)
Allow indentation with spaces in table wikisyntax !
( rtrim -> trim)

includes/Parser.php

index 6b6f903..f7c602a 100644 (file)
@@ -371,7 +371,7 @@ class Parser
                        $ltr = array () ; # tr attributes
                        foreach ( $t AS $k => $x )
                        {
-                               $x = rtrim ( $x ) ;
+                               $x = trim ( $x ) ;
                                $fc = substr ( $x , 0 , 1 ) ;
                                if ( "{|" == substr ( $x , 0 , 2 ) )
                                {