Changeset 588

Show
Ignore:
Timestamp:
04/14/06 15:38:39
Author:
miyagawa
Message:

fix Mixi.pm newline issue

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/plagger/lib/Plagger/Plugin/CustomFeed/Mixi.pm

    r573 r588  
    154154            if ($item) { 
    155155                my $body = decode('euc-jp', $item->{description}); 
    156                    $body =~ s!\r\n?!<br />!g; 
     156                   $body =~ s!(\r\n?|\n)!<br />!g; 
    157157                for my $image (@{ $item->{images} }) { 
    158158                    # xxx this should be $entry->enclosures