Skip to content

Commit

Permalink
flush after send buffer
Browse files Browse the repository at this point in the history
  • Loading branch information
samsonasik committed Feb 14, 2020
1 parent b24d6a5 commit 575526f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions system/Test/DOMParser.php
Original file line number Diff line number Diff line change
Expand Up @@ -144,6 +144,7 @@ public function see(string $search = null, string $element = null): bool
{
ob_start();
$content = $this->dom->saveHTML();
ob_flush();
return strpos($content, $search) !== false;
}

Expand Down

0 comments on commit 575526f

Please sign in to comment.