fix(generator): remove ampersand
This commit is contained in:
parent
f93b9c2b18
commit
efb7cc9b9c
|
@ -162,7 +162,7 @@ namespace SourceGenerator {
|
||||||
|
|
||||||
var highEnd = cfc.HighEndDuty ? "true" : "false";
|
var highEnd = cfc.HighEndDuty ? "true" : "false";
|
||||||
var contentType = cfc.ContentType.Value;
|
var contentType = cfc.ContentType.Value;
|
||||||
var contentKind = contentType?.Name?.TextValue().Replace(" ", "");
|
var contentKind = contentType?.Name?.TextValue().Replace(" ", "").Replace("&", "");
|
||||||
if (string.IsNullOrEmpty(contentKind)) {
|
if (string.IsNullOrEmpty(contentKind)) {
|
||||||
contentKind = $"Other({contentType?.RowId ?? 0})";
|
contentKind = $"Other({contentType?.RowId ?? 0})";
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue