]> git.mxchange.org Git - friendica.git/commitdiff
newlines were getting stripped
authorFriendika <info@friendika.com>
Mon, 17 Jan 2011 07:48:44 +0000 (23:48 -0800)
committerFriendika <info@friendika.com>
Mon, 17 Jan 2011 07:48:44 +0000 (23:48 -0800)
boot.php
include/html2bbcode.php

index 2be34a5290b5ac833551d88baf9ee261fe398e06..ac577887caee4e22967672e750c540c7b5e9c47a 100644 (file)
--- a/boot.php
+++ b/boot.php
@@ -910,7 +910,6 @@ function xmlify($str) {
                        case "'" :
                                $buffer .= '&apos;';
                                break;
-
                        case "\"" :
                                $buffer .= '&quot;';
                                break;
index 688c0145266a78b67ef8ef47f077d206574b8664..7cacadd65ce04464642e80f42ce29297a6f548ac 100644 (file)
@@ -32,7 +32,7 @@ function html2bbcode($s) {
        // Replace with
 
        $bbtags = array(
-               '',
+               "\n",
                '[b]$1[/b]',
                '[i]$1[/i]',
                '[u]$1[/u]',