From a3253a3c85a2c80f24678f668d10c6f99e272ae5 Mon Sep 17 00:00:00 2001 From: Michael Vogel Date: Sat, 24 Aug 2013 19:18:47 +0200 Subject: [PATCH] fromgplus: Sometimes identical comments were posted above and below a picture. --- fromgplus/fromgplus.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fromgplus/fromgplus.php b/fromgplus/fromgplus.php index dcfeff86..59b20023 100644 --- a/fromgplus/fromgplus.php +++ b/fromgplus/fromgplus.php @@ -259,7 +259,7 @@ function fromgplus_handleattachments($item, $displaytext) { elseif ($images["full"] != "") $post .= "\n[img]".$images["full"]."[/img]\n"; - if (($attachment->displayName != "") AND ($attachment->displayName != $displaytext)) + if (($attachment->displayName != "") AND (trim($attachment->displayName) != trim(strip_tags($displaytext)))) $post .= fromgplus_html2bbcode($attachment->displayName)."\n"; break;