Changeset 922

Show
Ignore:
Timestamp:
06/07/06 21:01:29
Author:
miyagawa
Message:

added config param force_upgrade

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/plagger/lib/Plagger/Plugin/Filter/EntryFullText.pm

    r872 r922  
    9999 
    100100    my $handler = first { $_->handle_force($args) } @{ $self->{plugins} }; 
    101     if ( !$handler && $args->{entry}->body && $args->{entry}->body =~ /<\w+>/ ) { 
     101    if ( !$handler && $args->{entry}->body && $args->{entry}->body =~ /<\w+>/ && !$self->conf->{force_upgrade} ) { 
    102102        $self->log(debug => $args->{entry}->link . " already contains body. Skipped"); 
    103103        return; 
     
    281281Defaults to 0. 
    282282 
     283=item force_upgrade 
     284 
     285Even if entry body already contains HTML, this config forces the 
     286plugin to upgrade the body. 
     287 
    283288=back 
    284289