Changeset 1789

Show
Ignore:
Timestamp:
10/23/06 04:32:20
Author:
miyagawa
Message:

Filter::Markdown: fixed weird code, probably a bug.

Files:

Legend:

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

    r712 r1789  
    2121    my $entry = $args->{entry}; 
    2222    my $html = markdown($entry->body, { 
    23       $cfg->{empty_element_suffix} || ' />', 
    24       $cfg->{tab_width} || '4', 
     23        empty_element_suffix => $cfg->{empty_element_suffix} || ' />', 
     24        tab_width => $cfg->{tab_width} || '4', 
    2525    } ); 
    2626    $entry->body($html);