-
Notifications
You must be signed in to change notification settings - Fork 46
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 truncated href tags #342
Conversation
A little kludgy, but it'll blend right in! |
test/issues/338-test.js
Outdated
|
||
table.push([{ content: 'looooooooooooong', href }]); | ||
|
||
expect(table.toString().includes('\x1B]8;;\x07')).toEqual(true); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I wonder if it'd be better to test the full output here. Concatenating the link closure incorrectly would still lead to a passing test.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I didn't do this initially because the string-literal table doesn't look as nice as the ones in the other issue tests. But I made the change and it seems fine.
Okay to merge (and publish)? |
Looks good. Fell off my radar. I'll get a new release out shortly. |
closes #338
This is a bad solution, and I understand if you'd prefer not to merge it.