Changeset 1694

Show
Ignore:
Timestamp:
09/16/06 23:58:43
Author:
miyagawa
Message:

Fixed syntax error of Publish::2chdat. Escape <>. Thanks to yanagi

Files:

Legend:

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

    r721 r1694  
    3939        ($feed->author || $feed->entries->[0]->author || $anonymous), 
    4040        $self->format_date( Plagger::Date->from_epoch(0) ), # Fix created date to handle bytes-range request 
    41         substr($feed->id_safe), 0, 8), 
     41        substr($feed->id_safe, 0, 8), 
    4242        $self->format_body($feed->description) . "<BR>" . $feed->link, 
    4343        $feed->title; 
     
    9393    $body =~ tr/\r\n//d; 
    9494 
     95    # <> is a separator 
     96    $body =~ s/<>/&lt;&gt;/g; 
     97 
    9598    $body; 
    9699}