Skip to content

Conversation

@gustavotoyota
Copy link

Summary

Fix inline wrap background color rendering.

This PR fixes/implements the following bugs/features

  • Inline wrapped background color becoming a rectangle.

Closing issues

Fixes #2558

@jebdu
Copy link

jebdu commented Feb 15, 2024

Hi gustave, I've been trying to solve the same background word wrap issue. I inserted your code into line 7324 of the html2canvas.js (v 1.41) file and I'm getting html2canvas.js:7324 Uncaught (in promise) ReferenceError: DISPLAY is not defined. Is it supposed to be inserted somewhere else? Thanks much

bgrand-ch pushed a commit to bgrand-ch/html2canvas that referenced this pull request Jul 9, 2025
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.

<span style="background-color: #CCCCCC"> word wrap Issue

2 participants