You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As discussed on the list, a stripped comment in a list makes it loose. Here is a minimal example.
OS: macOS 11.5.2 20G95 arm64
pandoc 2.14.2; Compiled with pandoc-types 1.22, texmath 0.12.3.1, skylighting 0.11
╭─reagle@hom ~/e/clear/data/2web/reagle.org/joseph/2016/min-eg
╰─➤ pandoc test-list-nested.md
<h1 id="nested-list-with-comment">Nested list with comment</h1>
<ul>
<li>this is top 1
<ul>
<li>this is sub 1.1</li>
<li>this is sub 1.2 <!-- - going to think about 1.3 for a bit --></li>
<li>this is sub 1.4</li>
</ul></li>
<li>this is top 2
<ul>
<li>this is sub 2.1</li>
<li>this is sub 2.2</li>
<li>this is sub 2.3</li>
<li>this is sub 2.4</li>
</ul></li>
</ul>
╭─reagle@hom ~/e/clear/data/2web/reagle.org/joseph/2016/min-eg
╰─➤ pandoc --strip-comments test-list-nested.md
<h1 id="nested-list-with-comment">Nested list with comment</h1>
<ul>
<li>this is top 1
<ul>
<li><p>this is sub 1.1</p></li>
<li><p>this is sub 1.2</p></li>
<li><p>this is sub 1.4</p></li>
</ul></li>
<li>this is top 2
<ul>
<li>this is sub 2.1</li>
<li>this is sub 2.2</li>
<li>this is sub 2.3</li>
<li>this is sub 2.4</li>
</ul></li>
</ul>
The text was updated successfully, but these errors were encountered:
I'm not really sure why this is happening. It seems to be related to the fact that we handle stripped comments as blank RawInline elements; when I change it so stripped comments become <!-- STRIPPED -->, I don't see this behavior.
Uh oh!
There was an error while loading. Please reload this page.
As discussed on the list, a stripped comment in a list makes it loose. Here is a minimal example.
The text was updated successfully, but these errors were encountered: