diff options
author | Meik Sievertsen <acydburn@phpbb.com> | 2007-05-16 17:38:05 +0000 |
---|---|---|
committer | Meik Sievertsen <acydburn@phpbb.com> | 2007-05-16 17:38:05 +0000 |
commit | 15743dc7ac7ae8985e785096d2e3ed2a046c6e32 (patch) | |
tree | 1bbf4de7d08e7c42fb7f38b7faface4152d10ec0 /phpBB/includes/message_parser.php | |
parent | 27fb37109f0d7b13f3b0d9de413b7ffc45aeaadb (diff) | |
download | forums-15743dc7ac7ae8985e785096d2e3ed2a046c6e32.tar forums-15743dc7ac7ae8985e785096d2e3ed2a046c6e32.tar.gz forums-15743dc7ac7ae8985e785096d2e3ed2a046c6e32.tar.bz2 forums-15743dc7ac7ae8985e785096d2e3ed2a046c6e32.tar.xz forums-15743dc7ac7ae8985e785096d2e3ed2a046c6e32.zip |
#10982
git-svn-id: file:///svn/phpbb/trunk@7611 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/includes/message_parser.php')
-rw-r--r-- | phpBB/includes/message_parser.php | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/phpBB/includes/message_parser.php b/phpBB/includes/message_parser.php index 9b3dcad871..532bc057ab 100644 --- a/phpBB/includes/message_parser.php +++ b/phpBB/includes/message_parser.php @@ -691,11 +691,13 @@ class bbcode_firstpass extends bbcode $tok = '['; $buffer = ''; - // Add space at the end of the closing tag if not happened before to allow following urls/smilies to be parsed correctly + /* Add space at the end of the closing tag if not happened before to allow following urls/smilies to be parsed correctly + * Do not try to think for the user. :/ Do not parse urls/smilies if there is no space - is the same as with other bbcodes too. + * Also, we won't have any spaces within $in anyway, only adding up spaces -> #10982 if (!$in || $in[0] !== ' ') { $out .= ' '; - } + }*/ } else if (preg_match('#^quote(?:="(.*?)")?$#is', $buffer, $m)) { |