Skip to content

Commit

Permalink
Bug 1154457 - Extra lines for nested MarkDown lists
Browse files Browse the repository at this point in the history
r=dkl
  • Loading branch information
albert-ting authored and dklawren committed Apr 13, 2016
1 parent 4bd1de9 commit ae22da8
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions Bugzilla/Markdown.pm
Expand Up @@ -478,6 +478,17 @@ sub _DoBlockQuotes {
return $text;
}

sub _DoLists {
my ($self, $text) = @_;

$text = $self->SUPER::_DoLists($text);

# strip trailing newlines created by DoLists
$text =~ s/\n</</g;

return $text;
}

sub _EncodeCode {
my ($self, $text) = @_;

Expand Down

0 comments on commit ae22da8

Please sign in to comment.