|
@@ -325,7 +325,7 @@ discard block |
|
|
block discarded – undo |
|
325
|
325
|
|
|
326
|
326
|
libxml_use_internal_errors(true); |
|
327
|
327
|
|
|
328
|
|
- $dom->loadHTML('<?xml encoding="utf-8" ?>' . $str); |
|
|
328
|
+ $dom->loadHTML('<?xml encoding="utf-8" ?>'.$str); |
|
329
|
329
|
|
|
330
|
330
|
libxml_use_internal_errors(false); |
|
331
|
331
|
|
|
@@ -334,7 +334,7 @@ discard block |
|
|
block discarded – undo |
|
334
|
334
|
} |
|
335
|
335
|
|
|
336
|
336
|
if ($script = $dom->getElementsByTagName('script')[0]) { |
|
337
|
|
- static::script(';(function () {' . $script->nodeValue . '})();'); |
|
|
337
|
+ static::script(';(function () {'.$script->nodeValue.'})();'); |
|
338
|
338
|
} |
|
339
|
339
|
|
|
340
|
340
|
$htmls = ''; |
Please login to merge, or discard this patch.