Skip to content

Commit bddd784

Browse files
committed
Merge branch 'feat/v2-matching-engine' into v4.7.x
2 parents 70ff682 + 6eacce6 commit bddd784

File tree

1 file changed

+1
-1
lines changed
  • core/model/src/main/kotlin/au/com/dius/pact/core/model

1 file changed

+1
-1
lines changed

core/model/src/main/kotlin/au/com/dius/pact/core/model/XmlUtils.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ object XmlUtils {
129129
t.setOutputProperty(OutputKeys.INDENT, "yes")
130130
val buffer = StringWriter()
131131
t.transform(DOMSource(node), StreamResult(buffer))
132-
return buffer.toString().trim()
132+
return buffer.toString().replace("\r", "").trim()
133133
}
134134

135135
/** Group the child nodes by tag name */

0 commit comments

Comments
 (0)