mirror of
https://git.sekbaer.de/Friendica/friendica.git
synced 2025-06-11 01:24:27 +02:00
Preparations for a more visible reshare when exporting to twitter, statusnet or facebook.
The oauth-parts are some experimental stuff for the statusnet API - but they don't hurt.
This commit is contained in:
parent
4dcd00cf4b
commit
7770317f1e
4 changed files with 69 additions and 6 deletions
|
@ -220,6 +220,9 @@ function html2plain($html, $wraplength = 75, $compact = false)
|
|||
//$message .= "\n[".($counter++)."] ".$url;
|
||||
}
|
||||
|
||||
$message = str_replace("\n«", "«\n", $message);
|
||||
$message = str_replace("»\n", "\n»", $message);
|
||||
|
||||
do {
|
||||
$oldmessage = $message;
|
||||
$message = str_replace("\n\n\n", "\n\n", $message);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue