summaryrefslogtreecommitdiff
path: root/functions.php
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2009-03-26 13:56:52 +0300
committerAndrew Dolgov <[email protected]>2009-03-26 13:56:52 +0300
commit5c42194978a6938773a09c9472cee5947242d245 (patch)
tree07d136dbef6236922efdd01d7b66b23144e09b52 /functions.php
parent34f9c6b295928bc1a704532b15fcd7030ea52e60 (diff)
better check for img tags to skip inlining image attachments
Diffstat (limited to 'functions.php')
-rw-r--r--functions.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/functions.php b/functions.php
index 4c867f26c..9371596cc 100644
--- a/functions.php
+++ b/functions.php
@@ -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