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
Hi there! Spans seem to be wrapped to a new line in their entirety when white-space: pre-wrap is set.
white-space: pre-wrap
Repro code:
<style> .highlight { background-color: #ffff00; } code { white-space: pre-wrap; display: block; max-width: 250px; } </style> <code> 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 </code> <hr> <code> 00 00 00 00 00 00 00 00 00 00 <span class="highlight">00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00</span> 00 00 00 00 00 </code>
WeasyPrint output:
Expected output:
Not quite sure why this is happening or how to stop it from happening.
The text was updated successfully, but these errors were encountered:
Thanks for the report. That’s probably related to #2025.
Sorry, something went wrong.
No branches or pull requests
Hi there! Spans seem to be wrapped to a new line in their entirety when
white-space: pre-wrap
is set.Repro code:
WeasyPrint output:
Expected output:
Not quite sure why this is happening or how to stop it from happening.
The text was updated successfully, but these errors were encountered: