3
1
Back

Different than this foreach($imgs as $img){ if ($img->getAttribute('title')) { $article['content'] .= "" . $entry->ownerDocument->saveXML($entry) . "

"; } } /* replace '//' or '/./' or '/foo/../' with '/' */ $re = array('#(/\.?/)#', '#/(?!\.\.)[^/]+/\.\./#'); for($n=1; $n>0; $abs=preg_replace($re, '/', $abs, -1, $n)) { } $article = $this->alt_textify($article); if.

New Pull Request