Skip to content
This repository has been archived by the owner on Apr 11, 2024. It is now read-only.

Commit

Permalink
Remove pre-processing of PHP code
Browse files Browse the repository at this point in the history
Restore the changes made in 23a6939 that were lost in 83da38a.
  • Loading branch information
bsweeney committed Oct 8, 2015
1 parent a2d0698 commit 1c7990c
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions src/Dompdf.php
Original file line number Diff line number Diff line change
Expand Up @@ -430,13 +430,6 @@ public function loadHtml($str, $encoding = null)
$str = substr($str, 3);
}

// Parse embedded php, first-pass
if ($this->options->isPhpEnabled()) {
ob_start();
eval("?" . ">$str");
$str = ob_get_clean();
}

// if the document contains non utf-8 with a utf-8 meta tag chars and was
// detected as utf-8 by mbstring, problems could happen.
// http://devzone.zend.com/article/8855
Expand Down

0 comments on commit 1c7990c

Please sign in to comment.