Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Parsing broken with apostrophe in quoted parameter of cell metadata #1079

Closed
matthew-brett opened this issue Jun 20, 2023 · 2 comments · Fixed by #1081
Closed

Parsing broken with apostrophe in quoted parameter of cell metadata #1079

matthew-brett opened this issue Jun 20, 2023 · 2 comments · Fixed by #1081

Comments

@matthew-brett
Copy link
Contributor

I just noticed that the notebooks like the following:

---
jupyter:
  jupytext:
    notebook_metadata_filter: all,-language_info
    split_at_heading: true
    text_representation:
      extension: .Rmd
      format_name: rmarkdown
      format_version: '1.2'
      jupytext_version: 1.14.6
---
```{python some-name, param="Problem's"}
a = 1
```

This gives the following error when trying to load the notebook:

[W 17:33:09.623 NotebookApp] Option line "some-name, param="Problem's"" is not properly terminated

Removing the apostrophe fixes the error:

```{python some-name, param="Problems"}
```
@mwouts
Copy link
Owner

mwouts commented Jun 20, 2023

Hey @matthew-brett , thank you for reporting this. I will see what I can do.

mwouts added a commit that referenced this issue Jun 20, 2023
mwouts added a commit that referenced this issue Jun 20, 2023
mwouts added a commit that referenced this issue Jun 20, 2023
@matthew-brett
Copy link
Contributor Author

Great - thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants