Show
Ignore:
Timestamp:
10/02/07 09:32:43 (16 months ago)
Author:
otsune
Message:

lang/perl/plagger/lib/Plagger/Plugin/CustomFeed/MixiScraper.pm: fix Yen sign to backslash

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • lang/perl/plagger/lib/Plagger/Plugin/CustomFeed/MixiScraper.pm

    r329 r330  
    5252    $context->register_hook( 
    5353        $self, 
    54         'subscription.load' => ¥&load, 
     54        'subscription.load' => \&load, 
    5555    ); 
    5656} 
     
    128128                # prefer smaller image 
    129129                my $image = $item->{image}; 
    130                    $image =~ s/¥.jpg$/s.jpg/; 
     130                   $image =~ s/\.jpg$/s.jpg/; 
    131131                $entry->icon({ 
    132132                    title => $item->{name}, 
     
    150150            if ($item) { 
    151151                my $body = $item->{description}; 
    152                    $body =~ s!(¥r¥n?|¥n)!<br />!g; 
     152                   $body =~ s!(\r\n?|\n)!<br />!g; 
    153153                for my $image (@{ $item->{images} || [] }) { 
    154154                    $body .= qq(<div><a href="$image->{link}"><img src="$image->{thumb_link}" style="border:0" /></a></div>);