[ticket/8228] Fix whitespaces before code in Firefox

Based on the "[code] enhancements" modification by TerraFrost
and a snippet of a german board:
http://www.ongray-design.de/forum/viewtopic.php?t=541

http://tracker.phpbb.com/browse/PHPBB3-8228