better check for img tags to skip inlining image attachments

master
Andrew Dolgov 16 years ago
parent 34f9c6b295
commit 5c42194978

@ -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

Loading…
Cancel
Save