From 17ec714dafd9ee19ee4e5c6ae958d19243bb729d Mon Sep 17 00:00:00 2001 From: Rob Reynolds Date: Mon, 21 Sep 2015 02:13:01 -0500 Subject: [PATCH] comment out this bit - tests pass again --- src/Core/Extensions/XElementExtensions.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/Core/Extensions/XElementExtensions.cs b/src/Core/Extensions/XElementExtensions.cs index 260e265a5..7d21fcebc 100644 --- a/src/Core/Extensions/XElementExtensions.cs +++ b/src/Core/Extensions/XElementExtensions.cs @@ -159,8 +159,8 @@ public static XElement MergeWith(this XElement source, XElement target, IDiction } else { - if (sourceChild == null) - { + //if (sourceChild == null) + //{ // If that element is null then add that node source.Add(targetChild); @@ -169,7 +169,7 @@ public static XElement MergeWith(this XElement source, XElement target, IDiction // when we see an element, add all the previous comments before the child element AddContents(pendingComments, newlyAddedElement.AddBeforeSelf); - } + // } } } }