1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2026-02-10 16:01:33 +00:00

better check for img tags to skip inlining image attachments

This commit is contained in:
Andrew Dolgov
2009-03-26 13:56:52 +03:00
parent 34f9c6b295
commit 5c42194978

View File

@@ -4708,7 +4708,7 @@
print "<div class=\"postEnclosures\">";
if (!preg_match("/img/i", $article_content)) {
if (!preg_match("/<img/i", $article_content)) {
foreach ($entries as $entry) {
if (preg_match("/image/", $entry["type"])) {
print "<p><img