(handle_single_display_spec): Fix handling of space