Changeset 173

Show
Ignore:
Timestamp:
02/27/06 00:30:45
Author:
youpy
Message:

Use $entry->body_text

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/plagger/lib/Plagger/Plugin/Publish/Spotlight.pm

    r156 r173  
    3636    if ($self->{conf}->{add_comment}) { 
    3737        eval { require Mac::Glue }; 
    38         my $comment = $entry->body
     38        my $comment = $entry->body_text
    3939        utf8::decode($comment) unless utf8::is_utf8($comment); 
    40         $comment =~ s/<[^>]*>//g; 
    41         $comment =~ s/\n//g; 
    4240        $comment = encode("shift_jis", $comment); # xxx 
    4341