Skip to content

FIX: Only ANSI sanitize non-HTML output#1097

Merged
larsoner merged 1 commit intosphinx-gallery:masterfrom
sdhiscocks:ansi_escape
Mar 10, 2023
Merged

FIX: Only ANSI sanitize non-HTML output#1097
larsoner merged 1 commit intosphinx-gallery:masterfrom
sdhiscocks:ansi_escape

Conversation

@sdhiscocks
Copy link
Copy Markdown
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
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