### Bug description

Last tested using Quarto v1.3.234 on WSL2 (Ubuntu 22.04.1 LTS) and Windows 10, the test from issue #3901 https://github.com/quarto-dev/quarto-cli/blob/main/tests/docs/partition-cell-options/issue-3901.qmd results in the following error when running `quarto preview issue-3901.qmd --to html`:

```

Starting c kernel...Done

Executing 'test-c-2.ipynb'
  Cell 1/4...Done
  Cell 2/4...ERROR:

Unable to determine type for "'The classic ''Hello, world!'' program for C.' "
```

In my own tests, it seems to have to do with having a colon (":") or a comma (",") in the input string. For example:

````
---
jupyter: c
---

## Success

```{c}
/*| label: helloWorld1 */
/*| fig-cap: "«single»: “words”" */
/*| fig-alt: "C source code for \"hello world\" program" */
/*| echo: true */

#include <stdio.h>

int main() {
    printf("Hello, world!");
}
```

## Failure

```{c}
/*| label: helloWorld2 */
/*| fig-cap: "«single» “words”" */
/*| fig-alt: "C source code for \"hello, world\" program" */
/*| echo: true */

#include <stdio.h>

int main() {
    printf("Hello, world!");
}
```
````

I'm not sure whether the error happens for languages that use only an initial comment character, but I would guess that this would have been reported earlier were that the case.

### Checklist

- [X] Please include a minimal, fully reproducible example in a single .qmd file? Please provide the whole file rather than the snippet you believe is causing the issue.
- [X] Please [format your issue](https://quarto.org/bug-reports.html#formatting-make-githubs-markdown-work-for-us) so it is easier for us to read the bug report.
- [x] Please document the RStudio IDE version you're running (if applicable), by providing the value displayed in the "About RStudio" main menu dialog?
- [X] Please document the operating system you're running. If on Linux, please provide the specific distribution.
2023-03-01T00:54:30Z
bvancil
bug
closed
Unable to determine type for... error parsing yaml cell options
https://github.com/quarto-dev/quarto-cli/issues/4573