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;