Changeset 173
- Timestamp:
- 02/27/06 00:30:45
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/plagger/lib/Plagger/Plugin/Publish/Spotlight.pm
r156 r173 36 36 if ($self->{conf}->{add_comment}) { 37 37 eval { require Mac::Glue }; 38 my $comment = $entry->body ;38 my $comment = $entry->body_text; 39 39 utf8::decode($comment) unless utf8::is_utf8($comment); 40 $comment =~ s/<[^>]*>//g;41 $comment =~ s/\n//g;42 40 $comment = encode("shift_jis", $comment); # xxx 43 41
