spatialaudio / nbsphinx

:ledger: Sphinx source parser for Jupyter notebooks
https://nbsphinx.readthedocs.io/
MIT License
451 stars 130 forks source link

Escape </script> tags in JSON data #611

Closed mgeier closed 2 years ago

mgeier commented 2 years ago

This is a variation of #606 and it closes #183.

This can handle a few more edge cases than the original fix in nbconvert: https://github.com/jupyter/nbconvert/pull/1665.

For example, it can handle a cell like this:

ipywidgets.Label('using </scRIPt can be problematic')