Index: trunk/extensions/WhiteSpace/WhiteSpace.class.php |
— | — | @@ -28,14 +28,14 @@ |
29 | 29 | switch ( $match[ 1 ] ) { |
30 | 30 | case 'dws' : { |
31 | 31 | return ''; |
32 | | - } break; |
| 32 | + } |
33 | 33 | case 'nl' : { |
34 | 34 | return "\n" . $match[ 2 ]; |
35 | | - } break; |
| 35 | + } |
36 | 36 | default : { |
37 | 37 | return $match[ 0 ]; |
38 | | - } break; |
39 | | - }; // if |
| 38 | + } |
| 39 | + } |
40 | 40 | } // function callback |
41 | 41 | |
42 | 42 | static private function replaceTags( &$text ) { |
— | — | @@ -45,7 +45,7 @@ |
46 | 46 | static public function onParserBeforePreprocess( $parser, &$text, $flags ) { |
47 | 47 | if ( $flags & Parser::PTD_FOR_INCLUSION ) { |
48 | 48 | self::replaceTags( $text ); |
49 | | - }; // if |
| 49 | + } // if |
50 | 50 | return true; |
51 | 51 | } // function onParserBeforePreprocess |
52 | 52 | |