1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-02-13 12:35:06 +01:00
git-svn-id: file:///svn/phpbb/trunk@7611 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
Meik Sievertsen 2007-05-16 17:38:05 +00:00
parent 27fb37109f
commit 15743dc7ac

View File

@ -691,11 +691,13 @@ class bbcode_firstpass extends bbcode
$tok = '['; $tok = '[';
$buffer = ''; $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] !== ' ') if (!$in || $in[0] !== ' ')
{ {
$out .= ' '; $out .= ' ';
} }*/
} }
else if (preg_match('#^quote(?:="(.*?)")?$#is', $buffer, $m)) else if (preg_match('#^quote(?:="(.*?)")?$#is', $buffer, $m))
{ {