aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--boot.php1
-rw-r--r--include/html2bbcode.php2
2 files changed, 1 insertions, 2 deletions
diff --git a/boot.php b/boot.php
index 2be34a529..ac577887c 100644
--- a/boot.php
+++ b/boot.php
@@ -910,7 +910,6 @@ function xmlify($str) {
case "'" :
$buffer .= ''';
break;
-
case "\"" :
$buffer .= '"';
break;
diff --git a/include/html2bbcode.php b/include/html2bbcode.php
index 688c01452..7cacadd65 100644
--- a/include/html2bbcode.php
+++ b/include/html2bbcode.php
@@ -32,7 +32,7 @@ function html2bbcode($s) {
// Replace with
$bbtags = array(
- '',
+ "\n",
'[b]$1[/b]',
'[i]$1[/i]',
'[u]$1[/u]',