Changeset 551

Show
Ignore:
Timestamp:
04/06/06 17:23:16
Author:
miyagawa
Message:

HatenaDiary?: fixes diary mode fragment bug. Fixes #160

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/plagger/assets/plugins/filter-entryfulltext/hatena_diary.pl

    r548 r551  
    66sub extract { 
    77    my($self, $args) = @_; 
    8     my $path = URI->new($args->{entry}->link)->path; 
     8 
     9    my $link = URI->new($args->{entry}->link); 
     10    my $path = $link->path; 
     11       $path .= '#' . $link->fragment if $link->fragment; 
    912 
    1013    my $name     = ( $path =~ /\#([\w\-]+)$/ )[0];