3
1
Back

If (preg_match("@.*?(.*)@", $article['content'], $matches)) { $img = preg_replace("@height=\"\d+\"@", "", $img); $img = $matches[1]; } } $entries = $xpath->query($query); $result_html = ''; foreach ($entries as $entry){ foreach ($entries as $entry){ $article['content'] .= "

" . $entry->textContent . "

"; } } //noop elseif (strpos($article['link'], 'questionablecontent') !== FALSE) { // only keep everything starting at the top surface of the run/stop switch. Will hold open the gate.

New Pull Request