mirror of
https://github.com/friendica/friendica
synced 2024-12-23 10:40:16 +00:00
newlines were getting stripped
This commit is contained in:
parent
1002f9dc96
commit
d5ac7e938b
2 changed files with 1 additions and 2 deletions
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