diff --git a/src/dotnet/APIView/APIViewWeb/Languages/CLanguageService.cs b/src/dotnet/APIView/APIViewWeb/Languages/CLanguageService.cs index afa8dc3bf35..dcc2417bb73 100644 --- a/src/dotnet/APIView/APIViewWeb/Languages/CLanguageService.cs +++ b/src/dotnet/APIView/APIViewWeb/Languages/CLanguageService.cs @@ -16,7 +16,7 @@ namespace APIViewWeb { public class CLanguageService : LanguageService { - private const string CurrentVersion = "4"; + private const string CurrentVersion = "5"; private static Regex _typeTokenizer = new Regex("\\w+|[^\\w]+", RegexOptions.Compiled | RegexOptions.IgnoreCase); private static HashSet _keywords = new HashSet() { @@ -88,7 +88,7 @@ public override async Task GetCodeFileAsync(string originalName, Strea var packageNameMatch = _packageNameParser.Match(originalName); if (packageNameMatch.Success) { - packageNamespace = packageNameMatch.Groups[1].Value.Replace("_", "::"); + packageNamespace = packageNameMatch.Groups[1].Value.Replace("_", "-"); } CodeFileTokensBuilder builder = new CodeFileTokensBuilder();