diff options
| author | Meik Sievertsen <acydburn@phpbb.com> | 2008-09-28 17:09:20 +0000 |
|---|---|---|
| committer | Meik Sievertsen <acydburn@phpbb.com> | 2008-09-28 17:09:20 +0000 |
| commit | f3844a17f7b5d78a3fff46f653552726defc6499 (patch) | |
| tree | 1fd5060b6e8d34edf84813d09563a6a11eb5117a /phpBB/includes/bbcode.php | |
| parent | c439b286e95b7d12b7c633cb4991e630d430e2ee (diff) | |
| download | forums-f3844a17f7b5d78a3fff46f653552726defc6499.tar forums-f3844a17f7b5d78a3fff46f653552726defc6499.tar.gz forums-f3844a17f7b5d78a3fff46f653552726defc6499.tar.bz2 forums-f3844a17f7b5d78a3fff46f653552726defc6499.tar.xz forums-f3844a17f7b5d78a3fff46f653552726defc6499.zip | |
revert r8893 - there were massive problems with the display and select all code
git-svn-id: file:///svn/phpbb/trunk@8954 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/includes/bbcode.php')
| -rw-r--r-- | phpBB/includes/bbcode.php | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/phpBB/includes/bbcode.php b/phpBB/includes/bbcode.php index 726e53fd82..d688f660f2 100644 --- a/phpBB/includes/bbcode.php +++ b/phpBB/includes/bbcode.php @@ -570,6 +570,10 @@ class bbcode // no break; default: + $code = str_replace("\t", ' ', $code); + $code = str_replace(' ', ' ', $code); + $code = str_replace(' ', ' ', $code); + // remove newline at the beginning if (!empty($code) && $code[0] == "\n") { |
