mirror of
https://git.friendi.ca/friendica/friendica-addons.git
synced 2025-07-07 00:48:55 +00:00
Massive reworking of the export connectors using the plaintext function, improving of the tumblr export, option to prevent too short wordpress postings
This commit is contained in:
parent
8ce597cb4d
commit
021d6265cd
11 changed files with 191 additions and 880 deletions
|
@ -243,7 +243,7 @@ function fromgplus_cleantext($text) {
|
|||
$trash = html_entity_decode("", ENT_QUOTES, 'UTF-8');
|
||||
|
||||
$text = strip_tags($text);
|
||||
$text = html_entity_decode($text);
|
||||
$text = html_entity_decode($text, ENT_QUOTES);
|
||||
$text = trim($text);
|
||||
$text = str_replace(array("\n", "\r", " ", $trash), array("", "", "", ""), $text);
|
||||
return($text);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue