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:
Michael Vogel 2014-05-29 12:42:25 +02:00
parent 8ce597cb4d
commit 021d6265cd
11 changed files with 191 additions and 880 deletions

View file

@ -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);