diff --git a/PROMS/VEPROMS.CSLA.Library/EnumExtensions.cs b/PROMS/VEPROMS.CSLA.Library/EnumExtensions.cs index d68472e4..3a1cb378 100644 --- a/PROMS/VEPROMS.CSLA.Library/EnumExtensions.cs +++ b/PROMS/VEPROMS.CSLA.Library/EnumExtensions.cs @@ -41,7 +41,16 @@ namespace VEPROMS.CSLA.Library // Remove any spaces due to split and if `_` found change it to space. public static string ToCleanString(this string str) - => str.Replace(" ", string.Empty) - .Replace('_', ' '); + { + string retval = str; + // B2022-114: ROs not printing in Word docs. spaces were removed, but this should only happen in unit designators such + // as . Keep the code that replaces the '_' with a space. + if (retval.ToUpper().StartsWith("