Markdown: paragraph after a list inside the quoted block causes insertion of an extra newline when merging

Issue #747 new
Kuro Kurosaka created an issue

When a block quote includes a list and a paragraph after the list, merged text lacks the block quote marker (">"). For example, if the input file quoted-para-aft-list.md (attached) looks like this:

> This is a quoted
> paragraph.
>
> 1. Here is a numbered list.
> 1. List item #2.
>
> Here is another
> paragraph following the
> list.

and if we run:

tikal.sh -x quoted-para-aft-list.md
tikal.sh -m  quoted-para-aft-list.md.xlf

then the resulting file, quoted-para-aft-list.out.md, looks like this:

> This is a quoted
> paragraph.
> 
> 1. Here is a numbered list.
> 1. List item #2.
> 
> 
Here is another
> paragraph following the
> list.

Notice, there is an extra newline between ">" and "Here is another".

tikal.sh -m leaves an error message that reads:

Error: Something's not right in block quote. The content=
 NOT matched with processingBlockQuoteText=Here is another

Comments (0)

  1. Log in to comment