Index: trunk/phase3/includes/parser/Parser.php |
— | — | @@ -829,7 +829,7 @@ |
830 | 830 | foreach ( $lines as $outLine ) { |
831 | 831 | $line = trim( $outLine ); |
832 | 832 | |
833 | | - if ( $line == '') { //empty line, go to next line |
| 833 | + if ( $line === '') { //empty line, go to next line |
834 | 834 | $out .= $outLine."\n"; |
835 | 835 | continue; |
836 | 836 | } |
— | — | @@ -869,7 +869,7 @@ |
870 | 870 | if ( isset($last_row['type'] ) && $last_row['type'] == 'thead' && isset($table[1])) { |
871 | 871 | $last_row['type'] = 'tfoot'; |
872 | 872 | for($i = 0; isset($last_row[$i]); $i++ ) { |
873 | | - $last_row[$i]['type'] = 'td'; |
| 873 | + $last_row[$i]['type'] = 'th'; |
874 | 874 | } |
875 | 875 | } |
876 | 876 | |