We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 70ff682 + 6eacce6 commit bddd784Copy full SHA for bddd784
core/model/src/main/kotlin/au/com/dius/pact/core/model/XmlUtils.kt
@@ -129,7 +129,7 @@ object XmlUtils {
129
t.setOutputProperty(OutputKeys.INDENT, "yes")
130
val buffer = StringWriter()
131
t.transform(DOMSource(node), StreamResult(buffer))
132
- return buffer.toString().trim()
+ return buffer.toString().replace("\r", "").trim()
133
}
134
135
/** Group the child nodes by tag name */
0 commit comments