Dompdf\Dompdf::loadHtml
Loads an HTML string Parse errors are stored in the global array _dompdf_warnings.
Signature
public function loadHtml(string
$str,
[string
$encoding = 'UTF-8'] )
Parameters
$str
— string- HTML text to load
$encoding
— string- Not used yet
Line | Task |
---|---|
417+ | use the $encoding variable |
463 | Take the quirksmode into account |