[ticket/8785] Adds a new optical improvement, new file and fixes html bugs

PHPBB3-8785