Fixed  quote bug with certain characters

It looks like it's escaped, but I think this might be a bug in the nested quote stripping more than anything else.
 
Actually, this was a parsing bug related to the ] being the first character. Fixed now.
 
In library/XenForo/BbCode/Parser.php, change:
Code:
$tagContentEndPosition = strpos($this->_text, "$tagDelim]", $tagOptionPosition);
to:
Code:
$tagContentEndPosition = strpos($this->_text, "$tagDelim]", $tagOptionPosition + 2);
 
Top Bottom