Changeset 1891

Show
Ignore:
Timestamp:
11/29/06 20:09:49
Author:
miyagawa
Message:

Publish::Excel: better not use strip_html, use Text API

Files:

Legend:

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

    r1196 r1891  
    44use base qw(Plagger::Plugin); 
    55 
    6 use Plagger::Util qw(strip_html); 
    76use Spreadsheet::WriteExcel; 
    87 
     
    4039        $worksheet->write($row, $col++, $entry->title); 
    4140        $worksheet->write($row, $col++, $entry->permalink); 
    42         $worksheet->write($row, $col++, strip_html($entry->body), $self->{body_format}); 
     41        $worksheet->write($row, $col++, $entry->body->plaintext, $self->{body_format}); 
    4342        $row++; 
    4443    }