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

FIX: Only ANSI sanitize non-HTML output #1097

Merged
merged 1 commit into from
Mar 10, 2023

Conversation

sdhiscocks
Copy link
Contributor

This resolves an issue with HTML being ANSI sanitized, which can cause issues.

For example, this breaks Plotly when rendering with plotly.min.js embedded, due to ANSI escape in JS code, causing plots to not be displayed.

Relates to original #838

This resolves an issue with HTML being ANSI sanitized, which can cause
issues.

For example, this breaks Plotly when rendering with plotly.min.js
embedded, due to ANSI escape in JS code, causing plots to not be
displayed.

Relates to original sphinx-gallery#838
@larsoner larsoner added the bug label Mar 10, 2023
@larsoner larsoner merged commit a515afa into sphinx-gallery:master Mar 10, 2023
@sdhiscocks sdhiscocks deleted the ansi_escape branch March 10, 2023 15:33
clrpackages pushed a commit to clearlinux-pkgs/pypi-sphinx_gallery that referenced this pull request Mar 14, 2023
… to version 0.12.2

v0.12.2
-------

**Fixed bugs:**

-  FIX: Only ANSI sanitize non-HTML output `#1097 <https://github.com/sphinx-gallery/sphinx-gallery/pull/1097>`__ (`sdhiscocks <https://github.com/sdhiscocks>`__)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants