1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-13 10:05:56 +00:00

support "picture" tags in articles

This commit is contained in:
Andrew Dolgov
2019-03-19 07:18:48 +03:00
parent e35c656b38
commit 01b2f0a24f
2 changed files with 6 additions and 4 deletions

View File

@@ -170,7 +170,7 @@ class Af_Zz_ImgProxy extends Plugin {
}
}
$vids = $xpath->query("//video");
$vids = $xpath->query("(//video|//picture)");
foreach ($vids as $vid) {
if ($vid->hasAttribute("poster")) {