diff --git a/include/bb2diaspora.php b/include/bb2diaspora.php index 5a38852936..866ac26be4 100644 --- a/include/bb2diaspora.php +++ b/include/bb2diaspora.php @@ -20,6 +20,8 @@ function diaspora2bb($s) { // Remove CR to avoid problems with following code //$s = str_replace("\r","",$s); + $s = str_replace("\n"," \n",$s); + // The parser cannot handle paragraphs correctly $s = str_replace(array("
", "", '
'),array("
", "
", "
"),$s);