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 "'" : case "'" :
$buffer .= '''; $buffer .= ''';
break; break;
case "\"" : case "\"" :
$buffer .= '"'; $buffer .= '"';
break; break;

View File

@ -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]',