Autosubstitution settings in English - Need space after unit for measurements but no space before unit for currency, but the setting selected applies to both

Hi,

In English, we would like not to have a space between the $ and the number, but we would like to have a space after most of the measurement units. If I choose one of the settings regarding spaces in the Autosubstitution settings, it applies for both currencies and measurements. Is there a way to tell Studio to add the space just for measurements but not for currencies?
Thanks.
Beatriz 

emoji