[ticket/11768] Copied the whitespace modification from bbcode_second_pass_code()

PHPBB3-11768