Browse Source

newlines were getting stripped

pull/1/head
Friendika 11 years ago
parent
commit
d5ac7e938b
  1. 1
      boot.php
  2. 2
      include/html2bbcode.php

1
boot.php

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

2
include/html2bbcode.php

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

Loading…
Cancel
Save