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
1 changed files with 1 additions and 1 deletions

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