mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-13 20:45:55 +00:00
fix af_habr
This commit is contained in:
@@ -27,7 +27,7 @@ class Af_Habr extends Plugin {
|
||||
if ($doc) {
|
||||
$xpath = new DOMXPath($doc);
|
||||
|
||||
$basenode = $xpath->query("//div[@class='content_html_format']")->item(0);
|
||||
$basenode = $xpath->query("//div[contains(@class,'content') and contains(@class, 'html_format')]")->item(0);
|
||||
|
||||
if ($basenode) {
|
||||
$article["content"] = $doc->saveXML($basenode);
|
||||
|
||||
Reference in New Issue
Block a user