diff --git a/src/PhpSpreadsheet/Reader/Html.php b/src/PhpSpreadsheet/Reader/Html.php
index 5e12a2fb..2fe85b6f 100644
--- a/src/PhpSpreadsheet/Reader/Html.php
+++ b/src/PhpSpreadsheet/Reader/Html.php
@@ -933,7 +933,12 @@ class Html extends BaseReader
*/
private function setBorderStyle(Style $cellStyle, $styleValue, $type): void
{
- [, $borderStyle, $color] = explode(' ', $styleValue);
+ if (trim($styleValue) === Border::BORDER_NONE) {
+ $borderStyle = Border::BORDER_NONE;
+ $color = null;
+ } else {
+ [, $borderStyle, $color] = explode(' ', $styleValue);
+ }
$cellStyle->applyFromArray([
'borders' => [