diff --git a/src/file/document/body/body.ts b/src/file/document/body/body.ts index 934424a5a7..fa30099f75 100644 --- a/src/file/document/body/body.ts +++ b/src/file/document/body/body.ts @@ -5,9 +5,7 @@ export class Body extends XmlComponent { constructor(sectionPropertiesOptions?: SectionPropertiesOptions) { super("w:body"); - this.root.push( - new SectionProperties(sectionPropertiesOptions), - ); + this.root.push(new SectionProperties(sectionPropertiesOptions)); } public push(component: XmlComponent): void { diff --git a/src/file/document/body/section-properties/section-properties.ts b/src/file/document/body/section-properties/section-properties.ts index b10d9be3c7..097fff225f 100644 --- a/src/file/document/body/section-properties/section-properties.ts +++ b/src/file/document/body/section-properties/section-properties.ts @@ -36,7 +36,17 @@ export class SectionProperties extends XmlComponent { }; this.root.push(new PageSize(mergedOptions.width, mergedOptions.height, mergedOptions.orientation)); - this.root.push(new PageMargin(mergedOptions.top, mergedOptions.right, mergedOptions.bottom, mergedOptions.left, mergedOptions.header, mergedOptions.footer, mergedOptions.gutter)); + this.root.push( + new PageMargin( + mergedOptions.top, + mergedOptions.right, + mergedOptions.bottom, + mergedOptions.left, + mergedOptions.header, + mergedOptions.footer, + mergedOptions.gutter, + ), + ); this.root.push(new Columns(mergedOptions.space)); this.root.push(new DocumentGrid(mergedOptions.linePitch)); }