Files
pandoc/test/command/11888.md
T
John MacFarlane c8c68ec0ae Markdown reader: reset sourcepos in parseWithString'...
...when parsing a block quote or list item. Otherwise
it can happen that by the time parseWithString' is called,
the position has already been set to the next file on the
command line.

Closes #11888.

Closes #11888.
2026-09-23 20:16:34 -07:00

1.3 KiB

% pandoc -f markdown+rebase_relative_paths command/11888/section1/lab.md command/11888/section2/lab.md command/11888/section3/lab.md
^D
<h1 id="heading-1">Heading 1</h1>
<figure>
<img src="command/11888/section1/media/Pic1_1.png" alt="pic 1" />
<figcaption aria-hidden="true">pic 1</figcaption>
</figure>
<blockquote>
<p>a blockquote</p>
<figure>
<img src="command/11888/section1/media/Pic1_2.png" alt="pic 2" />
<figcaption aria-hidden="true">pic 2</figcaption>
</figure>
<p>with an image reference</p>
<figure>
<img src="command/11888/section1/media/Pic1_3.png" alt="pic 3" />
<figcaption aria-hidden="true">pic 3</figcaption>
</figure>
</blockquote>
<h1 id="heading-2">Heading 2</h1>
<figure>
<img src="command/11888/section2/media/Pic2_1.png" alt="pic 3" />
<figcaption aria-hidden="true">pic 3</figcaption>
</figure>
<ol type="1">
<li><p>A list</p>
<figure>
<img src="command/11888/section2/media/Pic2_2.png" alt="pic 4" />
<figcaption aria-hidden="true">pic 4</figcaption>
</figure></li>
</ol>
<h1 id="heading-3">Heading 3</h1>
<figure>
<img src="command/11888/section3/media/Pic3_1.png" alt="pic 5" />
<figcaption aria-hidden="true">pic 5</figcaption>
</figure>
<ol type="1">
<li><p>A list</p>
<figure>
<img src="command/11888/section3/media/Pic3_2.png" alt="pic 6" />
<figcaption aria-hidden="true">pic 6</figcaption>
</figure></li>
</ol>