mirror of
https://git.friendi.ca/friendica/friendica-addons.git
synced 2024-12-22 20:50:16 +00:00
fromgplus: Sometimes identical comments were posted above and below a picture.
This commit is contained in:
parent
47b8454305
commit
a3253a3c85
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in a new issue