From efb7cc9b9ca8bc8e74b405a721005dd6fec04361 Mon Sep 17 00:00:00 2001 From: Anna Clemens Date: Sun, 15 Jan 2023 15:26:06 -0500 Subject: [PATCH] fix(generator): remove ampersand --- csharp/SourceGenerator/Program.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/csharp/SourceGenerator/Program.cs b/csharp/SourceGenerator/Program.cs index b4ac76f..1ea8bcb 100644 --- a/csharp/SourceGenerator/Program.cs +++ b/csharp/SourceGenerator/Program.cs @@ -162,7 +162,7 @@ namespace SourceGenerator { var highEnd = cfc.HighEndDuty ? "true" : "false"; var contentType = cfc.ContentType.Value; - var contentKind = contentType?.Name?.TextValue().Replace(" ", ""); + var contentKind = contentType?.Name?.TextValue().Replace(" ", "").Replace("&", ""); if (string.IsNullOrEmpty(contentKind)) { contentKind = $"Other({contentType?.RowId ?? 0})"; }