diff options
author | Friendika <info@friendika.com> | 2011-01-16 23:48:44 -0800 |
---|---|---|
committer | Friendika <info@friendika.com> | 2011-01-16 23:48:44 -0800 |
commit | d5ac7e938bf5a8737a2afdcf69f095b13bb7e5af (patch) | |
tree | 23370c67eb424d26f7af18e4d928a8fa8c8f58e9 | |
parent | 1002f9dc96e5dc7d387cf7eb8489bcc2fc7c966d (diff) | |
download | volse-hubzilla-d5ac7e938bf5a8737a2afdcf69f095b13bb7e5af.tar.gz volse-hubzilla-d5ac7e938bf5a8737a2afdcf69f095b13bb7e5af.tar.bz2 volse-hubzilla-d5ac7e938bf5a8737a2afdcf69f095b13bb7e5af.zip |
newlines were getting stripped
-rw-r--r-- | boot.php | 1 | ||||
-rw-r--r-- | include/html2bbcode.php | 2 |
2 files changed, 1 insertions, 2 deletions
@@ -910,7 +910,6 @@ function xmlify($str) { case "'" : $buffer .= '''; break; - case "\"" : $buffer .= '"'; break; diff --git a/include/html2bbcode.php b/include/html2bbcode.php index 688c01452..7cacadd65 100644 --- a/include/html2bbcode.php +++ b/include/html2bbcode.php @@ -32,7 +32,7 @@ function html2bbcode($s) { // Replace with $bbtags = array( - '', + "\n", '[b]$1[/b]', '[i]$1[/i]', '[u]$1[/u]', |