We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
\e[22
According to this article, \e[22 is "Normal color or intensity". It is output by chalk like this:
> "foo" + chalk.bold("bar") + "baz" 'foo\u001b[1mbar\u001b[22mbaz'
The latest ansi_up (2.0.0) doesn't stop the bold from continuing:
> ansiUp.ansi_to_html('foo\u001b[1mbar\u001b[21mbaz') 'foo<span style="color:rgb(255,255,255)">bar</span><span style="color:rgb(255,255,255)">baz</span>'
Any subsequent calls to ansi_to_html will now all be "bold", until a full reset (\e[0) is encountered.
ansi_to_html
\e[0
The text was updated successfully, but these errors were encountered:
696ab84
Merge pull request #41 from doughsay/master
69bdc29
Fix un-bolding of text. Closes #40.
Also - npm should be pushed - let me know if you run into any issues. Thanks again!
Sorry, something went wrong.
Thanks, it works like a charm!
No branches or pull requests
According to this article,
\e[22
is "Normal color or intensity". It is output by chalk like this:The latest ansi_up (2.0.0) doesn't stop the bold from continuing:
Any subsequent calls to
ansi_to_html
will now all be "bold", until a full reset (\e[0
) is encountered.The text was updated successfully, but these errors were encountered: