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

Table Cell borders are wrongly applied on the run #156

Open
onizet opened this issue Aug 23, 2024 · 1 comment
Open

Table Cell borders are wrongly applied on the run #156

onizet opened this issue Aug 23, 2024 · 1 comment

Comments

@onizet
Copy link
Owner

onizet commented Aug 23, 2024

Describe the bug
Tables borders were not applied correctly

Repro

<table style=\"border-collapse: collapse\"><tbody><tr><td style=\"width: 120px; border: 1px solid rgba(171, 171, 171, 1); vertical-align: top\" scope=\"\"><b>Header1</b></td><td style=\"width: 120px; border: 1px solid rgba(171, 171, 171, 1); vertical-align: top\" scope=\"\"><b>Header2</b></td></tr><tr><td style=\"width: 120px; border: 1px solid rgba(171, 171, 171, 1); vertical-align: top\" scope=\"\">Zeile1</td><td style=\"width: 120px; border: 1px solid rgba(171, 171, 171, 1); vertical-align: top\">Zeile2</td></tr></tbody></table>

This is what the Table looks like in html rendering:
359438011-8ab3f2ba-222f-4974-bd12-f133cc54dbe2

This is what we get now rendered in word:
359437508-a115d39b-6630-4849-9161-62103ba1627e

@marknitek CC

@marknitek
Copy link

@onizet thanks for the quick solution!

It looks way better now, but I think there is still room for improvement. To me it seems like it cell borders do not render perfectly and do not connect "gap-less" as can be seen in this picture:
image

I did not have a look at the xml output behind it but when i apply the border in the word border menu it is rendered the way i would expect it
image

@onizet onizet reopened this Aug 26, 2024
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