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

Improve html printing #314

Merged
merged 8 commits into from Dec 6, 2021
Merged

Improve html printing #314

merged 8 commits into from Dec 6, 2021

Conversation

calebeby
Copy link
Member

Closes #282

Now non-significant whitespace is collapsed when HTML elements are printed in error messages.
And HTML is syntax highlighted in error messages

Screen Shot 2021-11-26 at 6 30 38 AM

- HTML syntax highlighting in error messages
- Non-significant whitespace in HTML in error messages is collapsed
jest.setup.ts Outdated Show resolved Hide resolved
Co-authored-by: Gerardo Rodriguez <gerardo@cloudfour.com>
src/utils.ts Outdated Show resolved Hide resolved
Copy link
Member

@gerardo-rodriguez gerardo-rodriguez left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is awesome, @calebeby, so much better! 🎉

I left a couple of small questions/suggestions. I approve pending resolution of those edits.

Let me know if you would like another review, otherwise, LGTM! 👍

calebeby and others added 3 commits December 6, 2021 09:13
Co-authored-by: Gerardo Rodriguez <gerardo@cloudfour.com>
Co-authored-by: Gerardo Rodriguez <gerardo@cloudfour.com>
@calebeby calebeby merged commit 542f3f9 into main Dec 6, 2021
@calebeby calebeby deleted the improve-html-printing branch December 6, 2021 17:33
@github-actions github-actions bot mentioned this pull request Dec 6, 2021
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.

HTML printing improvements
2 participants