aboutsummaryrefslogtreecommitdiffstats
path: root/include/html2bbcode.php
diff options
context:
space:
mode:
authorFriendika <info@friendika.com>2011-01-16 23:48:44 -0800
committerFriendika <info@friendika.com>2011-01-16 23:48:44 -0800
commitd5ac7e938bf5a8737a2afdcf69f095b13bb7e5af (patch)
tree23370c67eb424d26f7af18e4d928a8fa8c8f58e9 /include/html2bbcode.php
parent1002f9dc96e5dc7d387cf7eb8489bcc2fc7c966d (diff)
downloadvolse-hubzilla-d5ac7e938bf5a8737a2afdcf69f095b13bb7e5af.tar.gz
volse-hubzilla-d5ac7e938bf5a8737a2afdcf69f095b13bb7e5af.tar.bz2
volse-hubzilla-d5ac7e938bf5a8737a2afdcf69f095b13bb7e5af.zip
newlines were getting stripped
Diffstat (limited to 'include/html2bbcode.php')
-rw-r--r--include/html2bbcode.php2
1 files changed, 1 insertions, 1 deletions
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]',