Skip to content
This repository was archived by the owner on May 16, 2023. It is now read-only.

Commit 247d93b

Browse files
authored
Update response-handlers.ts
1 parent 99150a1 commit 247d93b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/app/response-handlers.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ export function getContentType(headers:Headers) {
8484
}
8585
}
8686

87-
87+
// http://stackoverflow.com/a/2893259/2517012
8888
export function formatXml(xml) {
8989
var reg = /(>)\s*(<)(\/*)/g; // updated Mar 30, 2015
9090
var wsexp = / *(.*) +\n/g;
@@ -136,4 +136,4 @@ export function formatXml(xml) {
136136
}
137137

138138
return formatted;
139-
};
139+
};

0 commit comments

Comments
 (0)