AnswerDotAI / AnswerDotAI/nbdev

When generating index.ipynb, cell content is not sanitized

Open
#1,493 2 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
Jupyter Notebook
Stars
5.3k
Forks
513
Avg merge
2d 30m
Merged PRs (30d)
8

Description

# Steps to reproduce
1. Create a repository with " in description, like this one: https://github.com/ozpau/nbdev_new_cant_handle_this
2. Clone, cd into it, and call `nbdev_new`
3. This will generate invalid `index.ipynb`: https://github.com/ozpau/nbdev_new_cant_handle_this/blob/main/nbs/index.ipynb?short_path=7a1e639#L19

Notice that double quotation marks that breaks the json.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.