aboutsummaryrefslogtreecommitdiffstats
path: root/include/bb2diaspora.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2014-10-20 21:15:29 -0700
committerfriendica <info@friendica.com>2014-10-20 21:15:29 -0700
commite8a7fb3d015b36af31312daf50739cf73f0f4368 (patch)
tree45191572e2fe29447b8cf17d8b743442eebf3c5e /include/bb2diaspora.php
parent34985f727264a5f3ca11095404f0eceb21f343b5 (diff)
downloadvolse-hubzilla-e8a7fb3d015b36af31312daf50739cf73f0f4368.tar.gz
volse-hubzilla-e8a7fb3d015b36af31312daf50739cf73f0f4368.tar.bz2
volse-hubzilla-e8a7fb3d015b36af31312daf50739cf73f0f4368.zip
strip out the Diaspora quoted reshare markers
Diffstat (limited to 'include/bb2diaspora.php')
-rw-r--r--include/bb2diaspora.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/bb2diaspora.php b/include/bb2diaspora.php
index 665fd4622..5663ce9ef 100644
--- a/include/bb2diaspora.php
+++ b/include/bb2diaspora.php
@@ -116,6 +116,8 @@ function diaspora_mention_callback($matches) {
function diaspora2bb($s,$use_zrl = false) {
+ $s = str_replace("&#xD;\n&gt;","",$s);
+
$s = html_entity_decode($s,ENT_COMPAT,'UTF-8');
// Too many new lines. So deactivated the following line