[ticket/8228] Fix whitespaces before code in Firefox

Based on the "Enhanced Code BBCode" modification by TerraFrost

PHPBB3-8228