Skip to content

Commit 13ead7a

Browse files
author
Patrick Brouwers
committed
Fix HTML parser to prevent whitespace before HTML table fixes issue SpartnerNL#10
1 parent 4ee5ead commit 13ead7a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/Maatwebsite/Excel/Readers/HTML_reader.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -402,6 +402,8 @@ private function _processDomElement(\DOMNode $element, $sheet, &$row, &$column,
402402
// echo 'START OF TABLE ' , $this->_tableLevel , ' ROW<br />';
403403
$this->_processDomElement($child,$sheet,$row,$column,$cellContent);
404404
// echo 'END OF TABLE ' , $this->_tableLevel , ' ROW<br />';
405+
//
406+
// Count the rows after the element was parsed
405407
++$row;
406408
break;
407409
case 'th' :

0 commit comments

Comments
 (0)