mirror of
https://github.com/j0k3r/php-readability.git
synced 2026-09-27 06:26:17 +00:00
+1
-1
@@ -548,7 +548,7 @@ class Readability
|
||||
// add extra text to iframe tag to avoid an auto-closing iframe and then break the html code
|
||||
if ($iframeCount) {
|
||||
$iframe = $articleParagraphs->item($i)->getElementsByTagName('iframe');
|
||||
$iframe->item(0)->nodeValue = ' ';
|
||||
$iframe->item(0)->nodeValue = ' ';
|
||||
|
||||
$articleParagraphs->item($i)->parentNode->replaceChild($iframe->item(0), $articleParagraphs->item($i));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user