|
|
@ -25,7 +25,7 @@ sub _list { |
|
|
|
my $text = $self->treewalk($content); |
|
|
|
my $text = $self->treewalk($content); |
|
|
|
$self->{list_depth} -= 1; |
|
|
|
$self->{list_depth} -= 1; |
|
|
|
|
|
|
|
|
|
|
|
return $text; |
|
|
|
return $text . "\n"; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
sub h1 { my $self = shift; $self->_header('h1', @_); }; |
|
|
|
sub h1 { my $self = shift; $self->_header('h1', @_); }; |
|
|
@ -68,7 +68,7 @@ sub a { |
|
|
|
sub p { |
|
|
|
sub p { |
|
|
|
my ($self, $attrs, $content) = @_; |
|
|
|
my ($self, $attrs, $content) = @_; |
|
|
|
|
|
|
|
|
|
|
|
return $self->treewalk($content) . "\n"; |
|
|
|
return $self->treewalk($content) . "\n\n"; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
sub img { |
|
|
|
sub img { |
|
|
|