Skip to content

Commit

Permalink
Blade to Excel export fix for PHP5.3, fixes issue SpartnerNL#137
Browse files Browse the repository at this point in the history
  • Loading branch information
patrickbrouwers committed May 30, 2014
1 parent d22a29c commit 3d8a842
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
## Laravel Excel v1.0.8
## Laravel Excel v1.0.9

[<img src="http://www.maatwebsite.nl/img/excel_banner.jpg"/>](http://www.maatwebsite.nl/laravel-excel/docs)

Expand Down
4 changes: 4 additions & 0 deletions docs/changelog/version-1.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Version 1

### 1.0.9

- Blade to Excel export fix for PHP5.3

### 1.0.8

- File format identifier enhancements
Expand Down
2 changes: 1 addition & 1 deletion src/Maatwebsite/Excel/Readers/HtmlReader.php
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ public function loadIntoExistingSheet($pFilename, LaravelExcelWorksheet $sheet,
else
{
// Load HTML from string
$loaded = @$dom->loadHTML(mb_convert_encoding($pFilename, 'HTML-ENTITIES', 'UTF-8'), PHPExcel_Settings::getLibXmlLoaderOptions());
$loaded = @$dom->loadHTML(mb_convert_encoding($pFilename, 'HTML-ENTITIES', 'UTF-8'));
}

if ($loaded === FALSE)
Expand Down

0 comments on commit 3d8a842

Please sign in to comment.