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

Remove asserts on zero-width builders. #67

Merged
merged 1 commit into from Nov 6, 2022

Conversation

jugglerchris
Copy link
Owner

This is harmless as long as we don't try to put any text into them.

This is harmless as long as we don't try to put any text into them.
@jugglerchris jugglerchris merged commit 9e56bf7 into main Nov 6, 2022
sftse added a commit to sftse/rust-html2text that referenced this pull request Feb 8, 2024
PR jugglerchris#67 removed the assert that checked width != 0 in fn new_sub_renderer()
It seems commit 1622607 reintroduced the check, as a result some tables
again fail to render with TooNarrow error, although both the available space
seem enough and the visual appearance is satisfactory
sftse added a commit to sftse/rust-html2text that referenced this pull request Feb 8, 2024
PR jugglerchris#67 removed the assert that checked width != 0 in fn new_sub_renderer()
It seems commit 1622607 reintroduced the check, as a result some tables
again fail to render with TooNarrow error, although both the available space
seem enough and the visual appearance is satisfactory
sftse added a commit to sftse/rust-html2text that referenced this pull request Feb 8, 2024
PR jugglerchris#67 removed the assert that checked width != 0 in fn new_sub_renderer()
It seems commit 1622607 reintroduced the check, as a result some tables
again fail to render with TooNarrow error, although both the available space
seem enough and the visual appearance is satisfactory
jugglerchris pushed a commit that referenced this pull request Feb 10, 2024
PR #67 removed the assert that checked width != 0 in fn new_sub_renderer()
It seems commit 1622607 reintroduced the check, as a result some tables
again fail to render with TooNarrow error, although both the available space
seem enough and the visual appearance is satisfactory
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.

None yet

1 participant