Ticket #32320: nonewline.diff
File nonewline.diff, 665 bytes (added by , 9 years ago) |
---|
-
trunk/parsers.php
415 415 $fp = $this->fopen( $file, 'r' ); 416 416 if ( $fp ) { 417 417 while ( ! $this->feof( $fp ) ) { 418 $importline = rtrim( $this->fgets( $fp ));418 $importline = $this->fgets( $fp ); 419 419 420 420 if ( ! $wxr_version && preg_match( '|<wp:wxr_version>(\d+\.\d+)</wp:wxr_version>|', $importline, $version ) ) 421 421 $wxr_version = $version[1]; … … 457 457 continue; 458 458 } 459 459 if ( $in_post ) { 460 $post .= $importline . "\n";460 $post .= $importline; 461 461 } 462 462 } 463 463