newlines were getting stripped
This commit is contained in:
parent
1002f9dc96
commit
d5ac7e938b
1
boot.php
1
boot.php
|
@ -910,7 +910,6 @@ function xmlify($str) {
|
||||||
case "'" :
|
case "'" :
|
||||||
$buffer .= ''';
|
$buffer .= ''';
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case "\"" :
|
case "\"" :
|
||||||
$buffer .= '"';
|
$buffer .= '"';
|
||||||
break;
|
break;
|
||||||
|
|
|
@ -32,7 +32,7 @@ function html2bbcode($s) {
|
||||||
// Replace with
|
// Replace with
|
||||||
|
|
||||||
$bbtags = array(
|
$bbtags = array(
|
||||||
'',
|
"\n",
|
||||||
'[b]$1[/b]',
|
'[b]$1[/b]',
|
||||||
'[i]$1[/i]',
|
'[i]$1[/i]',
|
||||||
'[u]$1[/u]',
|
'[u]$1[/u]',
|
||||||
|
|
Loading…
Reference in a new issue