diff options
| author | Andrew Dolgov <noreply@fakecake.org> | 2014-04-01 14:44:13 +0000 |
|---|---|---|
| committer | Andrew Dolgov <noreply@fakecake.org> | 2014-04-01 14:44:13 +0000 |
| commit | 463bcb7769c84c51561829c8f7a066c51285c710 (patch) | |
| tree | 5ce79e200f448bfb4c72b728f2ea63b6ce6cbbca /plugins | |
| parent | eb1921efeeadd07dfa887704dd645607a93a0749 (diff) | |
fix af_habr
Diffstat (limited to 'plugins')
| -rw-r--r-- | plugins/af_habr/init.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/af_habr/init.php b/plugins/af_habr/init.php index 222be6681..d357956a7 100644 --- a/plugins/af_habr/init.php +++ b/plugins/af_habr/init.php @@ -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); |