~ubuntu-branches/ubuntu/oneiric/libhtml-wikiconverter-perl/oneiric

« back to all changes in this revision

Viewing changes to WikiConverter/MoinMoin.pm

  • Committer: Bazaar Package Importer
  • Author(s): Jonas Genannt
  • Date: 2006-01-09 20:19:12 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20060109201912-306xp7tjdjcwejlu
Tags: 0.40-1
New Upstream Release

Show diffs side-by-side

added added

removed removed

Lines of Context:
48
48
    my $tag = "h$level";
49
49
    my $affix = ( '=' ) x ($level+1);
50
50
    $affix = '======' if $level == 6;
51
 
    $rules{$tag} = {
52
 
      start => $affix.' ',
53
 
      end => ' '.$affix,
54
 
      block => 1,
55
 
      trim => 'both',
56
 
      line_format => 'single'
57
 
    };
 
51
    $rules{$tag} = { start => $affix.' ', end => ' '.$affix, block => 1, trim => 'both', line_format => 'single' };
58
52
  }
59
53
 
60
54
  return \%rules;
105
99
  return $attstr || '';
106
100
}
107
101
 
108
 
# Calculates the prefix that will be placed before each list item.
109
 
# List item include ordered, unordered, and definition list items.
110
102
sub _li_start {
111
103
  my( $self, $node, $rules ) = @_;
112
104
  my $bullet = '';
168
160
 
169
161
=head1 AUTHOR
170
162
 
171
 
David J. Iberri <diberri@yahoo.com>
 
163
David J. Iberri <diberri@cpan.org>
172
164
 
173
165
=head1 COPYRIGHT
174
166