fix(generator): remove ampersand

This commit is contained in:
Anna 2023-01-15 15:26:06 -05:00
parent 891cf199fa
commit ca51dc3f6d
1 changed files with 1 additions and 1 deletions

View File

@ -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})";
}