forked from friendica/friendica-addons
fromgplus: Sometimes identical comments were posted above and below a picture.
This commit is contained in:
parent
47b8454305
commit
a3253a3c85
|
@ -259,7 +259,7 @@ function fromgplus_handleattachments($item, $displaytext) {
|
||||||
elseif ($images["full"] != "")
|
elseif ($images["full"] != "")
|
||||||
$post .= "\n[img]".$images["full"]."[/img]\n";
|
$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";
|
$post .= fromgplus_html2bbcode($attachment->displayName)."\n";
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue