Transmit the quoted part in the source

This commit is contained in:
Michael 2022-11-05 16:25:04 +00:00
parent 8cec89195b
commit 4dd2d7ebab
3 changed files with 12 additions and 11 deletions

View file

@ -597,7 +597,7 @@ class Item
return $body;
}
return $body . "\n" . $this->createSharedBlockByArray($shared_item, true);
return BBCode::removeSharedData($body) . "\n" . $this->createSharedBlockByArray($shared_item, true);
}
/**
@ -748,6 +748,8 @@ class Item
return $body;
}
$body = BBCode::removeSharedData($body);
$body .= "\n" . ($post['plink'] ?: $post['uri']);
return $body;