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:
parent
27fb37109f
commit
15743dc7ac
@ -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))
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user