mirror of
https://git.friendi.ca/friendica/friendica-addons.git
synced 2025-07-07 00:48:55 +00:00
twitter and statusnet: Now Newlines are transmitted.
wppost: The title is now shortened with a "..."
This commit is contained in:
parent
ce014035e7
commit
a00464cd98
3 changed files with 9 additions and 6 deletions
|
@ -445,7 +445,7 @@ function twitter_shortenmsg($b) {
|
|||
else if ($lastchar != "\n")
|
||||
$msg = substr($msg, 0, -3)."...";
|
||||
}
|
||||
$msg = str_replace("\n", " ", $msg);
|
||||
//$msg = str_replace("\n", " ", $msg);
|
||||
|
||||
// Removing multiple spaces - again
|
||||
while (strpos($msg, " ") !== false)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue