From: Michael Vogel
Date: Sat, 9 Aug 2014 07:20:37 +0000 (+0200)
Subject: bb2diaspora: added one more page break. In the future it could be replaced by a regul...
X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=731d944ab596145c421f239fc132f3beb74de21b;p=friendica.git
bb2diaspora: added one more page break. In the future it could be replaced by a regular expression.
---
diff --git a/include/bb2diaspora.php b/include/bb2diaspora.php
index b70a056619..39742291fd 100644
--- a/include/bb2diaspora.php
+++ b/include/bb2diaspora.php
@@ -21,7 +21,7 @@ function diaspora2bb($s) {
$s = str_replace("\r","",$s);
//
is invalid. Replace it with the valid expression
- $s = str_replace(array("
", "
", ""),array("
", "
", "
"),$s);
+ $s = str_replace(array("
", "
", "", '
'),array("
", "
", "
", "
"),$s);
$s = preg_replace('/\@\{(.+?)\; (.+?)\@(.+?)\}/','@[url=https://$3/u/$2]$1[/url]',$s);