Issue 12189: Quote share a feed now shares the linked feed url
This commit is contained in:
parent
32847f3398
commit
c88125348f
2 changed files with 6 additions and 1 deletions
|
@ -239,6 +239,8 @@ function item_post(App $a) {
|
|||
|
||||
$att_bbcode = "\n" . PageInfo::getFooterFromData($attachment);
|
||||
$body .= $att_bbcode;
|
||||
} elseif (preg_match("/\[attachment\](.*?)\[\/attachment\]/ism", $body, $matches)) {
|
||||
$body = preg_replace("/\[attachment].*?\[\/attachment\]/ism", PageInfo::getFooterFromUrl($matches[1]), $body);
|
||||
}
|
||||
|
||||
// Convert links with empty descriptions to links without an explicit description
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue