Fix #14579: attribute selectors with trailing spaces after an unquoted value