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

Issue619: add support for rowspan #750

Merged
merged 3 commits into from
Sep 12, 2022
Merged

Conversation

Brooklyn-0
Copy link
Contributor

Description of the new Feature/Bugfix

Describe here how you fixed the bug, or implemented the new feature.
Digging into the endElement method of HTMLworker class, I find there is something wrong with IncCell, which only adds the support for colspan of tr. In this way, I add one line of code in constructor of IncCell to imitate the setting of colspan to enable rowspan.

Related Issue: #619

Expected Result:

Screen Shot 2022-04-26 at 9 17 04 PM

Wrong Result:

Screen Shot 2022-04-26 at 9 15 40 PM

Unit-Tests for the new Feature/Bugfix

  • [Y] Unit-Tests added to reproduce the bug

Compatibilities Issues

Is anything broken because of the new code? Any changes in method signatures?
No, there is nothing broken because of the new code. No, there is no change in method signatures

Testing details

Any other details about how to test the new feature or bugfix?
I reproduce the broken steps of nonsupport of rowspan.

@sonarqubecloud
Copy link

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
No Duplication information No Duplication information

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.

rowspan-attribute gets ignored when converting from html to (pdf-)document
2 participants