3
1
Back

Are quotes) elseif (strpos($article['content'], 'imgs.xkcd.com/comics/') !== FALSE) { $imgs = $xpath->query('//img'); $alt_text = $entry->getAttribute('alt'); $alt_text = trim($img->getAttribute('alt')); if (!$alt_text || strpos($article['title'], $alt_text) !== false){ // there's both alt and title texts, they're both different, use both.

New Pull Request