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

« back to all changes in this revision

Viewing changes to WikiConverter/UseMod.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:
28
28
    dd => { alias => 'li' },
29
29
  );
30
30
 
31
 
  # Headings (h1-h6)
32
 
  my @headings = ( 1..6 );
33
 
  foreach my $level ( @headings ) {
34
 
    my $tag = "h$level";
 
31
  foreach my $level ( 1..6 ) {
35
32
    my $affix = ( '=' ) x $level;
36
 
    $rules{$tag} = {
37
 
      start => $affix.' ',
38
 
      end => ' '.$affix,
39
 
      block => 1,
40
 
      trim => 'both',
41
 
      line_format => 'single'
42
 
    };
 
33
    $rules{"h$level"} = { start => $affix.' ', end => ' '.$affix, block => 1, trim => 'both', line_format => 'single' };
43
34
  }
44
35
 
45
36
  return \%rules;
103
94
 
104
95
=head1 AUTHOR
105
96
 
106
 
David J. Iberri <diberri@yahoo.com>
 
97
David J. Iberri <diberri@cpan.org>
107
98
 
108
99
=head1 COPYRIGHT
109
100