From 731d944ab596145c421f239fc132f3beb74de21b Mon Sep 17 00:00:00 2001 From: Michael Vogel Date: Sat, 9 Aug 2014 09:20:37 +0200 Subject: [PATCH] bb2diaspora: added one more page break. In the future it could be replaced by a regular expression. --- include/bb2diaspora.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);