]> git.mxchange.org Git - friendica.git/commitdiff
bb2diaspora: added one more page break. In the future it could be replaced by a regul...
authorMichael Vogel <icarus@dabo.de>
Sat, 9 Aug 2014 07:20:37 +0000 (09:20 +0200)
committerMichael Vogel <icarus@dabo.de>
Sat, 9 Aug 2014 07:20:37 +0000 (09:20 +0200)
include/bb2diaspora.php

index b70a056619f9b8f927fc53032982e11dd859bf7f..39742291fd8daec632c51afdddcab001d6a55b7d 100644 (file)
@@ -21,7 +21,7 @@ function diaspora2bb($s) {
        $s = str_replace("\r","",$s);
 
        // <br/> is invalid. Replace it with the valid expression
-       $s = str_replace(array("<br/>", "</p>", "<p>"),array("<br />", "<br />", "<br />"),$s);
+       $s = str_replace(array("<br/>", "</p>", "<p>", '<p dir="ltr">'),array("<br />", "<br />", "<br />", "<br />"),$s);
 
        $s = preg_replace('/\@\{(.+?)\; (.+?)\@(.+?)\}/','@[url=https://$3/u/$2]$1[/url]',$s);