diff --git a/Winch/Util/WinchExtensions.cs b/Winch/Util/WinchExtensions.cs index c97c531c..e006b3a2 100644 --- a/Winch/Util/WinchExtensions.cs +++ b/Winch/Util/WinchExtensions.cs @@ -1164,7 +1164,7 @@ where baseType.IsAssignableFrom(type) /// Puts spaces between capitalized words within a string. Accounts for acronyms like VR. /// /// The string to search for a match. - public static string Spaced(this string s) => Regex.Replace(s, @"(\p{Ll})(\P{Ll})", "$1 $2"); + public static string Spaced(this string s) => Regex.Replace(s, @"(\p{Ll})(\P{Ll})", "$1 $2").Replace(" ", " "); /// /// Returns null if a string is empty / whitespace, otherwise just returns back the string