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

Request add removeExtraBlanks work with table,tr,td #233

Closed
phongtran11 opened this issue Dec 27, 2024 · 1 comment
Closed

Request add removeExtraBlanks work with table,tr,td #233

phongtran11 opened this issue Dec 27, 2024 · 1 comment

Comments

@phongtran11
Copy link

phongtran11 commented Dec 27, 2024

Provide the HTML code
Share the HTML code that you try to convert.

test title 1
test

var dd = { "content": [ { "nodeName": "TABLE", "table": { "body": [ [ { "nodeName": "TD", "stack": [ { "text": " " // redundant code }, { "nodeName": "TABLE", "marginBottom": 5, "table": { "body": [ [ { "text": "test title 1", "nodeName": "TD", "border": [ false, false, false, false ] } ] ], "widths": [ "auto" ], "heights": [ "auto" ] } }, { "text": " " // redundant code }, ] } ], [ { "text": "test", "nodeName": "TD", "style": [ "blue" ] } ] ], "widths": [ "auto" ], "heights": [ "auto", "auto" ] }, "marginBottom": 5 } ], "styles": { "green": { "color": "green" }, "blue": { "color": "green" } } }

Describe the bug
A clear and concise description of what the bug is. What is the result in the PDF, versus what you expected to see.
It will append empty blocks with every blank space
Any special reason for ignore removeExtraBlanks with table tags.
In my case also need to remove extra blanks in table tags

@Aymkdn Aymkdn closed this as completed in 82e83e9 Dec 27, 2024
@Aymkdn
Copy link
Owner

Aymkdn commented Dec 27, 2024

Fixed in v2.5.19

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

No branches or pull requests

2 participants