diff --git a/src/Nyanlabs.Umogen.Core/Models/UmoDocumentResult.cs b/src/Nyanlabs.Umogen.Core/Models/UmoDocumentResult.cs index caaf6fe..c34bfe6 100644 --- a/src/Nyanlabs.Umogen.Core/Models/UmoDocumentResult.cs +++ b/src/Nyanlabs.Umogen.Core/Models/UmoDocumentResult.cs @@ -34,7 +34,7 @@ public class UmoDocumentResult(UmoDoctype? type, Person employee, IEntity employ .Replace(PAYMENT_LIT, Anal.ValueLiteral) .Replace(PAYMENT, Payment!.Value.ToString()) .Replace(WORK_TYPE, Anal.JobPosition) - .Replace(DYNAMIC_DATA, string.Join(", ", Anal.Conditions)); + .Replace(DYNAMIC_DATA, string.Join(", ", Anal.Conditions.Select(x => x.Trim('-').Trim(' ')))); string tmp = Path.GetTempFileName(); await File.WriteAllTextAsync(tmp, xml);