Commit ae22da87 authored by Albert Ting's avatar Albert Ting Committed by David Lawrence

Bug 1154457 - Extra lines for nested MarkDown lists

r=dkl
parent 4bd1de9f
......@@ -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) = @_;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment