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 for ANSI characters in output of code block in style_jupyter.tplx #1068

Merged
merged 1 commit into from
Jul 28, 2019

Conversation

njapke
Copy link

@njapke njapke commented Jul 24, 2019

Conversion of ANSI characters was missing at a critical place for output of code blocks, which can be problematic with e.g. output of the Almond Scala Kernel. With this fix, colors should be converted and preserved properly when using style_jupyter.tplx to generate a pdf.

@MSeal
Copy link
Contributor

MSeal commented Jul 24, 2019

Awesome. Let me test this out to make sure the change applied correctly, but looks like a solid improvement.

@MSeal
Copy link
Contributor

MSeal commented Jul 28, 2019

Seems to work, though I discovered a different bug during testing that may affect colored text output: see #1071
That one looks straightforward to fix once the offending line is identidied.

@MSeal MSeal merged commit 6870beb into jupyter:master Jul 28, 2019
@MSeal MSeal added this to the 5.6 milestone Jul 30, 2019
@meeseeksmachine
Copy link

This pull request has been mentioned on Jupyter Community Forum. There might be relevant details there:

https://discourse.jupyter.org/t/nbconvert-5-6-0-release/1867/1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants