With version `0.9.347` (2 hours old), I get a strange behavior of code chunks in lists (only tested with knitr engine):

The first code chunk in list is rendered badly.  The following qmd file:

````
---
title: Blah 
---

Blah blah

```{r}
1 + 1
```

*   The same in a list:

    ```{r}
    1 + 1
    ```

*   The same in a list again:

    ```{r}
    1 + 1
    ```
````

correctly renders the first and the third code chunk, but the second one is shown as

```
    1 + 1 ```
```

The relevant part of the generated html is

```
<p>Blah blah</p>
<div class="cell">
<div class="sourceCode cell-code" id="cb1"><pre class="sourceCode r code-with-copy"><code class="sourceCode r"><span id="cb1-1"><a href="#cb1-1" aria-hidden="true" tabindex="-1"></a><span class="dv">1</span> <span class="sc">+</span> <span class="dv">1</span></span></code><button title="Copy to Clipboard" class="code-copy-button"><i class="bi"></i></button></pre></div>
<div class="cell-output cell-output-stdout">
<pre><code>[1] 2</code></pre>
</div>
</div>
<ul>
<li><p>The same in a list:</p>
<p>1 + 1 ```</p></li>
<li><p>The same in a list again:</p>
<div class="cell">
<div class="sourceCode cell-code" id="cb3"><pre class="sourceCode r code-with-copy"><code class="sourceCode r"><span id="cb3-1"><a href="#cb3-1" aria-hidden="true" tabindex="-1"></a><span class="dv">1</span> <span class="sc">+</span> <span class="dv">1</span></span></code><button title="Copy to Clipboard" class="code-copy-button"><i class="bi"></i></button></pre></div>
<div class="cell-output cell-output-stdout">
<pre><code>[1] 2</code></pre>
</div>
</div></li>
</ul>
```

It may be related to #74.

I also got some really strange issues with code chunks in lists when the list had some lines that were indented by less than 4 spaces. The lists rendered correctly, and so did the code chunks, but the rendered code chunks in the html file were surrounded by `:::{some text here}:::{some other text}` and `::: :::` or some similar text like this, however, I cannot reproduce that in a MWE.
2022-05-03T16:27:31Z
lahvak
bug
closed
Code chunks in lists again
https://github.com/quarto-dev/quarto-cli/issues/789