Skip to content

properly escape json and yaml on nbdev_new #1494

New issue

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

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

Already on GitHub? # to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

ozpau
Copy link

@ozpau ozpau commented Feb 6, 2025

Fixes #1493

@@ -372,7 +372,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "b50d27fb-c343-47e2-a008-7ebdd02e1356",
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

not sure why nbdev_clean didn't pick this one up

@hamelsmu
Copy link
Contributor

@jph00 I am not sure about this one, do we want to sanitize double quotes etc?

@jph00
Copy link
Contributor

jph00 commented Feb 28, 2025

@jph00 I am not sure about this one, do we want to sanitize double quotes etc?

tbh I never use that CLI command, and I didn't write it, so I don't know! Sounds like maybe it is required for it to work correctly? Maybe you could give this PR a quick test to confirm it works OK for you?

# for free to join this conversation on GitHub. Already have an account? # to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

When generating index.ipynb, cell content is not sanitized
3 participants