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

Borders are not complete on rowspanned columns using HTML reader #1455

Closed
andrasf opened this issue Apr 30, 2020 · 1 comment
Closed

Borders are not complete on rowspanned columns using HTML reader #1455

andrasf opened this issue Apr 30, 2020 · 1 comment

Comments

@andrasf
Copy link

andrasf commented Apr 30, 2020

This is:

- [ x] a bug report
- [ ] a feature request
- [ ] **not** a usage question (ask them on https://stackoverflow.com/questions/tagged/phpspreadsheet or https://gitter.im/PHPOffice/PhpSpreadsheet)

What is the expected behavior?

Képernyőfotó 2020-04-30 - 16 06 11

What is the current behavior?

Képernyőfotó 2020-04-30 - 16 06 15

What are the steps to reproduce?

Please provide a Minimal, Complete, and Verifiable example of code that exhibits the issue without relying on an external Excel file or a web server:

<?php

require __DIR__ . '/vendor/autoload.php';

// Create new Spreadsheet object
$spreadsheet = new \PhpOffice\PhpSpreadsheet\Spreadsheet();

// add code that show the issue here...
$reader = new \PhpOffice\PhpSpreadsheet\Reader\Html();
$spreadsheet = $reader->loadFromString('<table><tr><td style="border: 1px solid black;">NOT SPANNED</td><td rowspan="2" style="border: 1px solid black;">SPANNED</td></tr><tr><td style="border: 1px solid black;">NOT SPANNED</td></tr></table>');
$writer = \PhpOffice\PhpSpreadsheet\IOFactory::createWriter($spreadsheet, 'Xls');
$writer->save(__DIR__ . '/test.xls');

Which versions of PhpSpreadsheet and PHP are affected?

PhpSpreadsheet 1.11.0
PHP 7.3.13

dhaval247 pushed a commit to dhaval247/PhpSpreadsheet that referenced this issue May 13, 2020
dhaval247 pushed a commit to dhaval247/PhpSpreadsheet that referenced this issue May 13, 2020
dhaval247 added a commit to dhaval247/PhpSpreadsheet that referenced this issue May 13, 2020
@stale
Copy link

stale bot commented Jul 12, 2020

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.
If this is still an issue for you, please try to help by debugging it further and sharing your results.
Thank you for your contributions.

@stale stale bot added the stale label Jul 12, 2020
dhaval247 added a commit to dhaval247/PhpSpreadsheet that referenced this issue Jul 14, 2020
@oleibman oleibman removed the stale label Jul 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants