|
@@ -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
|
|
|
@@ -345,7 +345,7 @@ discard block |
|
|
block discarded – undo |
|
345
|
345
|
} |
|
346
|
346
|
|
|
347
|
347
|
if ($child instanceof \DOMElement && $child->tagName == 'script') { |
|
348
|
|
- static::script(';(function () {' . $child->nodeValue . '})();'); |
|
|
348
|
+ static::script(';(function () {'.$child->nodeValue.'})();'); |
|
349
|
349
|
continue; |
|
350
|
350
|
} |
|
351
|
351
|
|
Please login to merge, or discard this patch.