More flexible formatting of range filters html