aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/bbcode.php
diff options
context:
space:
mode:
authorMeik Sievertsen <acydburn@phpbb.com>2008-09-19 16:40:24 +0000
committerMeik Sievertsen <acydburn@phpbb.com>2008-09-19 16:40:24 +0000
commit20b08e296186e8ae812a0928d387bb01468af846 (patch)
tree75e59325a8342a79a559aef3144f734a3cd86bfd /phpBB/includes/bbcode.php
parente12fce5f3d74d97b93b5a5931e59f9ddc2355a77 (diff)
downloadforums-20b08e296186e8ae812a0928d387bb01468af846.tar
forums-20b08e296186e8ae812a0928d387bb01468af846.tar.gz
forums-20b08e296186e8ae812a0928d387bb01468af846.tar.bz2
forums-20b08e296186e8ae812a0928d387bb01468af846.tar.xz
forums-20b08e296186e8ae812a0928d387bb01468af846.zip
support tabs in code selections (Bug #25445). Still does not solve the strange "4 spaces prefixed on every line" problem in firefox. :/
git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@8893 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/includes/bbcode.php')
-rw-r--r--phpBB/includes/bbcode.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/phpBB/includes/bbcode.php b/phpBB/includes/bbcode.php
index fd8fadf3a7..09830ac97e 100644
--- a/phpBB/includes/bbcode.php
+++ b/phpBB/includes/bbcode.php
@@ -581,10 +581,10 @@ class bbcode
// no break;
default:
- $code = str_replace("\t", '&nbsp; &nbsp;', $code);
+/* $code = str_replace("\t", '&nbsp; &nbsp;', $code);
$code = str_replace(' ', '&nbsp; ', $code);
$code = str_replace(' ', ' &nbsp;', $code);
-
+*/
// remove newline at the beginning
if (!empty($code) && $code[0] == "\n")
{