Fixing formatting issues with HTML5