1
0
Fork 0

newlines were getting stripped

This commit is contained in:
Friendika 2011-01-16 23:48:44 -08:00
parent 1002f9dc96
commit d5ac7e938b
2 changed files with 1 additions and 2 deletions

View file

@ -910,7 +910,6 @@ function xmlify($str) {
case "'" :
$buffer .= ''';
break;
case "\"" :
$buffer .= '"';
break;

View file

@ -32,7 +32,7 @@ function html2bbcode($s) {
// Replace with
$bbtags = array(
'',
"\n",
'[b]$1[/b]',
'[i]$1[/i]',
'[u]$1[/u]',