diff --git a/RhSolutions.AddIn/Services/RhDxfWriter.cs b/RhSolutions.AddIn/Services/RhDxfWriter.cs index 43aa55c..49e3013 100644 --- a/RhSolutions.AddIn/Services/RhDxfWriter.cs +++ b/RhSolutions.AddIn/Services/RhDxfWriter.cs @@ -48,7 +48,7 @@ public class RhDxfWriter : IExcelWriter for (int row = 0; row < 27 && i * 27 + row < pArray.Length; row++) { - insertion.Attributes.AttributeWithTag($"Name{row}").Value = pArray[i * 27 + row].Name; + insertion.Attributes.AttributeWithTag($"Name{row}").Value = pArray[i * 27 + row].Name.Replace("\n", " "); insertion.Attributes.AttributeWithTag($"ProductSku{row}").Value = pArray[i * 27 + row].ProductSku; insertion.Attributes.AttributeWithTag($"Rh{row}").Value = "«РЕХАУ»"; insertion.Attributes.AttributeWithTag($"Amount{row}").Value = productDict[pArray[i * 27 + row]].ToString();