[ticket/8785] <hr /> will only displayed when needed

PHPBB3-8785