From d5d7e45d626a1a09ef97041806ebe42434e08261 Mon Sep 17 00:00:00 2001 From: Kyle Shockey Date: Fri, 3 Nov 2017 18:13:17 -0700 Subject: [PATCH] Indent XML with 2 spaces --- src/core/components/response-body.jsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/core/components/response-body.jsx b/src/core/components/response-body.jsx index e3c2aeb1..a8518629 100644 --- a/src/core/components/response-body.jsx +++ b/src/core/components/response-body.jsx @@ -32,7 +32,8 @@ export default class ResponseBody extends React.Component { // XML } else if (/xml/i.test(contentType)) { body = formatXml(content, { - textNodesOnSameLine: true + textNodesOnSameLine: true, + indentor: " " }) bodyEl =