diff --git a/ClosedXML/Excel/RichText/XLFormattedText.cs b/ClosedXML/Excel/RichText/XLFormattedText.cs index 37484780d..27256291a 100644 --- a/ClosedXML/Excel/RichText/XLFormattedText.cs +++ b/ClosedXML/Excel/RichText/XLFormattedText.cs @@ -169,7 +169,7 @@ public bool Equals(IXLFormattedText other) for (Int32 i = 0; i < count; i++) { - if (_richTexts.ElementAt(i) != other.ElementAt(i)) + if (_richTexts.ElementAt(i).Equals(other.ElementAt(i))) return false; }