From 80661ac5517f94e97c70f80a7a0dccf3ca3f4f60 Mon Sep 17 00:00:00 2001 From: Dolan Miu Date: Tue, 10 May 2016 00:31:39 +0100 Subject: [PATCH] fixed replace key bug --- ts/export/formatter.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ts/export/formatter.ts b/ts/export/formatter.ts index 27a708ce59..106d2db39e 100644 --- a/ts/export/formatter.ts +++ b/ts/export/formatter.ts @@ -4,8 +4,8 @@ import {XmlComponent} from "../docx/xml-components"; export class Formatter { format(input: any): Object { - this.replaceKeys(input); input.clearVariables(); + this.replaceKeys(input); var newJson = this.clense(input); //console.log(JSON.stringify(newJson, null, " ")); return newJson;