Skip to content

Commit

Permalink
Update Debug.php to properly handle output as a string
Browse files Browse the repository at this point in the history
  • Loading branch information
nadar committed Sep 4, 2024
1 parent 467f0ec commit 12e0a93
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Debug.php
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ public function getLinesTable(array $lines)
$_lines[] = [
$line->getIndex(),
$line->getInput(),
htmlentities($line->output, ENT_QUOTES),
htmlentities((string) $line->output, ENT_QUOTES),
htmlentities($line->renderPrepend(), ENT_QUOTES),
implode(", ", $line->getDebugInfo()),
var_export($line->getAttributes(), true),
Expand Down

0 comments on commit 12e0a93

Please sign in to comment.