1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-07-30 21:40:43 +02:00

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
This commit is contained in:
Meik Sievertsen
2008-09-19 16:40:24 +00:00
parent e12fce5f3d
commit 20b08e2961
5 changed files with 8 additions and 8 deletions

View File

@@ -581,10 +581,10 @@ class bbcode
// no break;
default:
$code = str_replace("\t", '   ', $code);
/* $code = str_replace("\t", '   ', $code);
$code = str_replace(' ', '  ', $code);
$code = str_replace(' ', '  ', $code);
*/
// remove newline at the beginning
if (!empty($code) && $code[0] == "\n")
{