When a matching field value contains blanks or spaces in a web locator, they are replaced by only one blank or space in the geocoding result with the ArcGIS REST API.
Extra spaces in the custom output fields are preserved in ArcGIS Pro 3.2 and ArcGIS Enterprise 11.2. Prior to ArcGIS Pro 3.2 and ArcGIS Enterprise 11.2, additional spaces are not preserved.