-
Notifications
You must be signed in to change notification settings - Fork 48
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
faint text feature causes text to be unreadable #45
Comments
Thanks for the report. I published a new version (0.6.8) with faint support reverted. I would guess that there aren't other styles in use which are additive in the way filter is. Have to think of a different way to implement it. Did you have the stream option enabled in both cases? or disabled? |
Thanks for the quick turnaround! Your project has been has been an extremely simple solution to the complex problem of showing our Jest error messages in a web page with color. const ansiToHtml = new AnsiToHtml();
...
`<td data-value="${failureMessages.length + consoleMessages.length}">
${isPassed ? '' : `<div class="red">${status}</div>`}
${[ ...consoleMessages, ...failureMessages ].map((message) => `
<pre class="console">${ansiToHtml.toHtml(escapeHtml(message))}</pre>
`).join('\n')}
</td>
... |
Thanks, glad that it's useful. I'm going to close this issue. I've reopened the faint issue here: #41 |
Before Faint
After Faint
Source
It looks like all the
<span style="filter:brightness(0.7)">
tags are getting closed at the end instead of after where they are needed.The text was updated successfully, but these errors were encountered: