diff options
author | Jim Wigginton <terrafrost@phpbb.com> | 2009-04-01 22:37:50 +0000 |
---|---|---|
committer | Jim Wigginton <terrafrost@phpbb.com> | 2009-04-01 22:37:50 +0000 |
commit | b9f426355c80c3cbeedfb149283f4eb31b63ef7b (patch) | |
tree | abb2570a77da0d418a2f0b86fffa6abbaca5484e /phpBB/includes/message_parser.php | |
parent | 70c7e59f66e6bbb8d44ee94aa3a76adb51af22cb (diff) | |
download | forums-b9f426355c80c3cbeedfb149283f4eb31b63ef7b.tar forums-b9f426355c80c3cbeedfb149283f4eb31b63ef7b.tar.gz forums-b9f426355c80c3cbeedfb149283f4eb31b63ef7b.tar.bz2 forums-b9f426355c80c3cbeedfb149283f4eb31b63ef7b.tar.xz forums-b9f426355c80c3cbeedfb149283f4eb31b63ef7b.zip |
Fixed bug # 42885 - "Select all" selects much too much in Opera
Authorised by: acydburn
git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@9422 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/includes/message_parser.php')
-rw-r--r-- | phpBB/includes/message_parser.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/includes/message_parser.php b/phpBB/includes/message_parser.php index ed09cfa6bd..2f72ad8fdc 100644 --- a/phpBB/includes/message_parser.php +++ b/phpBB/includes/message_parser.php @@ -453,7 +453,7 @@ class bbcode_firstpass extends bbcode break; default: - return '[code:' . $this->bbcode_uid . ']' . $this->bbcode_specialchars($code) . '[/code:' . $this->bbcode_uid . ']'; + return '[code:' . $this->bbcode_uid . ']' . $this->bbcode_specialchars(trim($code)) . '[/code:' . $this->bbcode_uid . ']'; break; } } |