Skip to content

Commit

Permalink
fix(examples): fix attrib format
Browse files Browse the repository at this point in the history
  • Loading branch information
postspectacular committed Sep 27, 2018
1 parent 95ba4f6 commit 71cbd19
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/xml-converter/src/format.ts
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ format.add("obj", (opts, res, x) => {
res += "{" + opts.ws + formatPair({ ...opts, indent: 0 }, x, keys[0]) + opts.ws + "}";
} else {
const outer = spaces(opts.indent);
res += opts.prefix + opts.lineSep;
res += opts.prefix + "{" + opts.lineSep;
for (let i = keys.length; --i >= 0;) {
const k = keys[i];
res += formatPair(
Expand Down

0 comments on commit 71cbd19

Please sign in to comment.