#2028 Fix patcher offset indexes
This commit is contained in:
@ -7,7 +7,7 @@ import { Text } from "@file/paragraph/run/run-components/text";
|
||||
const formatter = new Formatter();
|
||||
|
||||
export const toJson = (xmlData: string): Element => {
|
||||
const xmlObj = xml2js(xmlData, { compact: false }) as Element;
|
||||
const xmlObj = xml2js(xmlData, { compact: false, captureSpacesBetweenElements: true }) as Element;
|
||||
return xmlObj;
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user